Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007486/0.0007486, allocations: 87.62 kB / 21.43 MB, free: 3.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002812/0.002812, allocations: 160.8 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7716/0.7716, allocations: 158.6 MB / 186.5 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1689/0.1689, allocations: 36.35 MB / 275.1 MB, free: 10.89 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 415.6 MB, free: 5.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.311e-05, allocations: 6.281 kB / 415.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.2558/0.2559, allocations: 95.62 MB / 0.4993 GB, free: 13.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.2664, allocations: 10.44 MB / 0.5094 GB, free: 3.012 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007304/0.2672, allocations: 27.75 kB / 0.5095 GB, free: 2.984 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.2687, allocations: 0.5353 MB / 0.51 GB, free: 2.445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.2698, allocations: 0.6671 MB / 0.5106 GB, free: 1.773 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01535/0.2851, allocations: 5.753 MB / 0.5163 GB, free: 12 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002032/0.2871, allocations: 1.883 MB / 0.5181 GB, free: 10.11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006738/0.2878, allocations: 0.5556 MB / 0.5186 GB, free: 9.535 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009957/0.2888, allocations: 0.9701 MB / 0.5196 GB, free: 8.562 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005815/0.2894, allocations: 0.5881 MB / 0.5202 GB, free: 7.973 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.2898, allocations: 84 kB / 0.5202 GB, free: 7.891 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009384/0.2991, allocations: 6.153 MB / 0.5263 GB, free: 1.73 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.2993, allocations: 191.2 kB / 0.5264 GB, free: 1.543 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.2996, allocations: 347.3 kB / 0.5268 GB, free: 1.203 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006662/0.3063, allocations: 5.421 MB / 0.5321 GB, free: 11.77 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3063, allocations: 0 / 0.5321 GB, free: 11.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3063, allocations: 0 / 0.5321 GB, free: 11.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.3063, allocations: 4 kB / 0.5321 GB, free: 11.77 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00262/0.3089, allocations: 1.798 MB / 0.5338 GB, free: 9.906 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.309, allocations: 12.03 kB / 0.5338 GB, free: 9.895 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.3092, allocations: 124.3 kB / 0.534 GB, free: 9.773 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009103/0.3101, allocations: 483.8 kB / 0.5344 GB, free: 9.273 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.3101, allocations: 53.67 kB / 0.5345 GB, free: 9.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.3102, allocations: 72.36 kB / 0.5345 GB, free: 9.152 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.3115, allocations: 0.9672 MB / 0.5355 GB, free: 8.129 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.3115, allocations: 6.656 kB / 0.5355 GB, free: 8.125 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.3115, allocations: 28 kB / 0.5355 GB, free: 8.098 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3116, allocations: 16 kB / 0.5355 GB, free: 8.082 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3128, allocations: 0.7816 MB / 0.5363 GB, free: 7.301 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.3149, allocations: 2.582 MB / 0.5388 GB, free: 4.637 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.3162, allocations: 0.7036 MB / 0.5395 GB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004744/0.3167, allocations: 290 kB / 0.5398 GB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02767/0.3444, allocations: 16.81 MB / 0.5562 GB, free: 2.805 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.3454, allocations: 0.5528 MB / 0.5567 GB, free: 2.227 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 2.024e-06/0.3454, allocations: 0 / 0.5567 GB, free: 2.227 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.002016/0.3474, allocations: 1.087 MB / 0.5578 GB, free: 1.133 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3475, allocations: 93.03 kB / 0.5579 GB, free: 1.023 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.3478, allocations: 438.1 kB / 0.5583 GB, free: 0.582 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.3478, allocations: 37.7 kB / 0.5583 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.348, allocations: 368.6 kB / 0.5587 GB, free: 180 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/0.3481, allocations: 142.8 kB / 0.5588 GB, free: 36 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.3482, allocations: 94.17 kB / 0.5589 GB, free: 15.94 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3483, allocations: 370.8 kB / 0.5593 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.3488, allocations: 381.4 kB / 0.5596 GB, free: 15.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.3494, allocations: 450.4 kB / 0.5601 GB, free: 14.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/0.3503, allocations: 0.6728 MB / 0.5607 GB, free: 13.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3503, allocations: 0 / 0.5607 GB, free: 13.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001181/0.3515, allocations: 0.9474 MB / 0.5616 GB, free: 12.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.906e-05/0.3516, allocations: 121.5 kB / 0.5618 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3516, allocations: 4 kB / 0.5618 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3516, allocations: 7.938 kB / 0.5618 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.3519, allocations: 132 kB / 0.5619 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3519, allocations: 4 kB / 0.5619 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.3522, allocations: 103.6 kB / 0.562 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.3523, allocations: 20 kB / 0.562 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008208/0.3531, allocations: 495.7 kB / 0.5625 GB, free: 12.03 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004784/0.3536, allocations: 457.8 kB / 0.5629 GB, free: 11.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008405/0.3544, allocations: 0.657 MB / 0.5636 GB, free: 10.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.3544, allocations: 0 / 0.5636 GB, free: 10.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.00105/0.3554, allocations: 0.916 MB / 0.5645 GB, free: 9.832 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.3555, allocations: 122.7 kB / 0.5646 GB, free: 9.688 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-06/0.3555, allocations: 4 kB / 0.5646 GB, free: 9.684 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.3555, allocations: 4 kB / 0.5646 GB, free: 9.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.3558, allocations: 136 kB / 0.5647 GB, free: 9.547 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3558, allocations: 4 kB / 0.5647 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.356, allocations: 103.6 kB / 0.5648 GB, free: 9.441 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.356, allocations: 20 kB / 0.5648 GB, free: 9.422 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 26 (Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition3,$whenCondition4,Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition1,$whenCondition2,T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.3562, allocations: 218.1 kB / 0.565 GB, free: 9.203 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.3562, allocations: 63.59 kB / 0.5651 GB, free: 9.141 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.3579, allocations: 1.918 MB / 0.567 GB, free: 7.211 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.3579, allocations: 19.97 kB / 0.567 GB, free: 7.191 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.358, allocations: 0.875 kB / 0.567 GB, free: 7.191 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.358, allocations: 11.98 kB / 0.567 GB, free: 7.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.3595, allocations: 1.855 MB / 0.5688 GB, free: 5.285 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3595, allocations: 8.062 kB / 0.5688 GB, free: 5.277 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.3597, allocations: 107.8 kB / 0.5689 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3597, allocations: 4 kB / 0.5689 GB, free: 5.168 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.3598, allocations: 12.86 kB / 0.569 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3598, allocations: 0 / 0.569 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3598, allocations: 4 kB / 0.569 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.3613, allocations: 1.224 MB / 0.5701 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3614, allocations: 139 kB / 0.5703 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.3615, allocations: 8 kB / 0.5703 GB, free: 3.758 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.3617, allocations: 71.89 kB / 0.5704 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.3619, allocations: 89.12 kB / 0.5704 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.3619, allocations: 19.98 kB / 0.5705 GB, free: 3.582 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.3621, allocations: 298.9 kB / 0.5707 GB, free: 3.289 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3621, allocations: 0 / 0.5707 GB, free: 3.289 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002027/0.3641, allocations: 1.146 MB / 0.5719 GB, free: 2.141 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count) * Number of discrete states: 4 (Sine1.count,Sine2.count,Sine4.count,Sine3.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002162/0.3663, allocations: 1.113 MB / 0.573 GB, free: 1.016 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.3681, allocations: 1.73 MB / 0.5746 GB, free: 15.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3681, allocations: 4 kB / 0.5746 GB, free: 15.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006234/0.3687, allocations: 0.5014 MB / 0.5751 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/0.3695, allocations: 266.7 kB / 0.5754 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.3714, allocations: 1.747 MB / 0.5771 GB, free: 12.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.3717, allocations: 426.5 kB / 0.5775 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3718, allocations: 64.48 kB / 0.5776 GB, free: 12.06 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3718, allocations: 0 / 0.5776 GB, free: 12.06 MB / 490.7 MB Notification: Performance of Templates: time 0.02043/0.3922, allocations: 24.75 MB / 0.6017 GB, free: 3.285 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.002854526042938] Failed to read output from testmodel.py, exit status != 0: 0.3981687808409333 0.406419006 0.09821017300000001 Calling exit ...