Consolidated and Combined Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Net Cash Provided by (Used in) Operating Activities, Continuing Operations [Abstract]      
Net income (loss) $ 78,348 $ 122,814 $ (29,838)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization (includes amortization of deferred debt issue costs) 23,893 22,441 20,432
Gain on sale of assets and insurance recoveries (269) (87) (779)
Impairments on terminal asset 0 288 0
Provision for doubtful accounts 1,589 2,350 887
Non-cash unit-based compensation 8,436 8,182 6
Deferred income taxes 147 2,467 (9,014)
Changes in assets and liabilities, net of effects of Kildair contribution agreement:      
Accounts receivable 127,202 (19,135) (158,191)
Inventories 149,236 84,456 30,635
Prepaid expenses and other assets 7,751 15,254 480
Fair value of commodity derivative instruments 19,754 (242,596) 51,487
Due to/from General Partner and affiliates (1,066) 11,964 5,052
Accounts payable, accrued liabilities and other (127,408) 7,166 8,180
Net cash provided by (used in) operating activities 287,613 15,564 (80,663)
Cash flows from investing activities      
Purchases of property, plant and equipment (14,899) (18,580) (28,090)
Proceeds from property insurance settlements and sale of assets 781 1,603 2,039
Acquisitions, net of cash acquired (447) (115,515) (20,700)
Net cash used in investing activities (14,565) (132,492) (46,751)
Cash flows from financing activities      
Net (payments) borrowings under credit agreements (198,917) 244,739 28,387
Payments on capital lease liabilities and term debt (1,373) (848) (2,342)
Payments on long-term terminal obligations (559) (602) (459)
Debt issue costs (1,938) (4,432) (16,699)
Dividend paid to Parent 0 0 (40,000)
Distributions to unitholders (40,569) (31,594) 0
Capital contribution from Parent 0 0 10,000
Proceeds from initial public offering, net of offering costs of $12.7 million 0 0 140,251
Foreign exchange on capital lease obligations (266) (184) 0
Repurchased units withheld for employee tax obligation. (2,343) (136) 0
Cash distribution to Parent in connection with initial public offering 0 0 (10,038)
Net (payments) borrowings to Parent and affiliate 0 (32,035) 17,500
Distribution to Parent for contribution of Kildair 0 (56,665) 0
Net increase (decrease) in payable to Parent 0 147 (641)
Net cash (used in) provided by financing activities (245,965) 118,390 125,959
Effect of exchange rate changes on cash balances held in foreign currencies (189) 572 (190)
Net change in cash and cash equivalents 26,894 2,034 (1,645)
Cash and cash equivalents, beginning of period 4,080 2,046 3,691
Cash and cash equivalents, end of period 30,974 4,080 2,046
Supplemental disclosure of cash flow information      
Cash paid for interest 24,382 25,036 26,309
Cash paid for taxes 3,929 1,827 3,392
Fair value of common units issued in connection with acquisitions $ 0 $ 15,320 $ 0