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.001844/0.001844, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001942/0.001942, allocations: 169.3 kB / 24.28 MB, free: 148 kB / 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 1.295/1.295, allocations: 158.6 MB / 186.1 MB, free: 2.891 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.2674/0.2674, allocations: 36.34 MB / 274.7 MB, free: 10.7 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.293e-06/1.293e-06, allocations: 0 / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.841e-05, allocations: 5.688 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.3031/0.3031, allocations: 108.1 MB / 461.2 MB, free: 17.19 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.316, allocations: 11.55 MB / 472.8 MB, free: 16.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.3176, allocations: 26.66 kB / 472.8 MB, free: 16.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.3196, allocations: 0.5361 MB / 473.3 MB, free: 16.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.3217, allocations: 0.669 MB / 474 MB, free: 16.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02265/0.3443, allocations: 5.767 MB / 479.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003139/0.3474, allocations: 1.878 MB / 481.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.3486, allocations: 0.5895 MB / 482.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.3508, allocations: 0.9712 MB / 483.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.3518, allocations: 0.597 MB / 483.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.352, allocations: 82.19 kB / 483.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/0.3647, allocations: 6.146 MB / 490 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003469/0.3651, allocations: 205.6 kB / 490.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006837/0.3658, allocations: 342.4 kB / 490.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.3759, allocations: 5.433 MB / 496 MB, free: 9.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3759, allocations: 3.938 kB / 496 MB, free: 9.316 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3759, allocations: 0 / 496 MB, free: 9.316 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.376, allocations: 0 / 496 MB, free: 9.316 MB / 362.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.004204/0.3802, allocations: 1.901 MB / 497.9 MB, free: 7.367 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3802, allocations: 8.031 kB / 497.9 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004329/0.3806, allocations: 200.2 kB / 498.1 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.3813, allocations: 498.2 kB / 498.6 MB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.3813, allocations: 53.67 kB / 498.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.876e-05/0.3814, allocations: 67.47 kB / 498.7 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.383, allocations: 0.9782 MB / 499.7 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.383, allocations: 7.125 kB / 499.7 MB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-05/0.3831, allocations: 28 kB / 499.7 MB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3831, allocations: 20 kB / 499.7 MB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.3848, allocations: 0.6934 MB / 0.4887 GB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.3876, allocations: 3.367 MB / 0.492 GB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.3893, allocations: 0.6377 MB / 0.4926 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/0.3898, allocations: 251.2 kB / 0.4929 GB, free: 496 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06377/0.4536, allocations: 16.8 MB / 0.5093 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.4552, allocations: 0.5352 MB / 0.5098 GB, free: 15.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 2.014e-06/0.4552, allocations: 0 / 0.5098 GB, free: 15.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.00335/0.4585, allocations: 1.004 MB / 0.5108 GB, free: 14.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.4586, allocations: 89.11 kB / 0.5109 GB, free: 14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/0.4593, allocations: 0.5533 MB / 0.5114 GB, free: 13.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.4594, allocations: 37.7 kB / 0.5114 GB, free: 13.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/0.4598, allocations: 435.3 kB / 0.5119 GB, free: 12.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.46, allocations: 156.9 kB / 0.512 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.4602, allocations: 115.8 kB / 0.5121 GB, free: 12.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003623/0.4606, allocations: 0.5547 MB / 0.5127 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008039/0.4614, allocations: 340.4 kB / 0.513 GB, free: 11.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008764/0.4623, allocations: 443.7 kB / 0.5134 GB, free: 11.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.4637, allocations: 0.6014 MB / 0.514 GB, free: 10.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.4637, allocations: 4 kB / 0.514 GB, free: 10.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001998/0.4657, allocations: 0.8754 MB / 0.5148 GB, free: 9.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003544/0.4661, allocations: 122.8 kB / 0.515 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4661, allocations: 0 / 0.515 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.4661, allocations: 4 kB / 0.515 GB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.4667, allocations: 115.3 kB / 0.5151 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.4667, allocations: 4 kB / 0.5151 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.4672, allocations: 79.81 kB / 0.5152 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.4673, allocations: 20 kB / 0.5152 GB, free: 9.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009666/0.4682, allocations: 490.5 kB / 0.5156 GB, free: 8.828 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008333/0.4691, allocations: 447 kB / 0.5161 GB, free: 8.324 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001354/0.4704, allocations: 0.6156 MB / 0.5167 GB, free: 7.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.4704, allocations: 0 / 0.5167 GB, free: 7.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001838/0.4723, allocations: 0.8411 MB / 0.5175 GB, free: 6.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.4724, allocations: 122.7 kB / 0.5176 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.4724, allocations: 4 kB / 0.5176 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.4724, allocations: 4 kB / 0.5176 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.4729, allocations: 108.6 kB / 0.5177 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.4729, allocations: 13.95 kB / 0.5177 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.4734, allocations: 63.77 kB / 0.5178 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.4734, allocations: 23.98 kB / 0.5178 GB, free: 6.414 MB / 394.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.0003072/0.4737, allocations: 307.2 kB / 0.5181 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.4739, allocations: 79.56 kB / 0.5182 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.4763, allocations: 1.233 MB / 0.5194 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.342e-05/0.4764, allocations: 23.97 kB / 0.5194 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.4764, allocations: 7.625 kB / 0.5194 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4764, allocations: 3.984 kB / 0.5194 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.4789, allocations: 1.489 MB / 0.5209 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.4789, allocations: 3.375 kB / 0.5209 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.4794, allocations: 87.03 kB / 0.521 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.4794, allocations: 0 / 0.521 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.4794, allocations: 8 kB / 0.521 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.4795, allocations: 4 kB / 0.521 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4795, allocations: 0 / 0.521 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.4818, allocations: 1.053 MB / 0.522 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.4821, allocations: 143 kB / 0.5221 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/0.4822, allocations: 15.98 kB / 0.5222 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.4827, allocations: 39.97 kB / 0.5222 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.4829, allocations: 95.86 kB / 0.5223 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.483, allocations: 20 kB / 0.5223 GB, free: 1.762 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004475/0.4834, allocations: 362.8 kB / 0.5227 GB, free: 1.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4834, allocations: 0 / 0.5227 GB, free: 1.406 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003388/0.4868, allocations: 1.15 MB / 0.5238 GB, free: 260 kB / 394.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.004152/0.491, allocations: 1.116 MB / 0.5249 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00331/0.4943, allocations: 1.559 MB / 0.5264 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4943, allocations: 0 / 0.5264 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000999/0.4953, allocations: 400.8 kB / 0.5268 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.4969, allocations: 286.6 kB / 0.527 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.5002, allocations: 1.645 MB / 0.5286 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.5008, allocations: 422.7 kB / 0.5291 GB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008393/0.5017, allocations: 394.5 kB / 0.5294 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.5019, allocations: 64.5 kB / 0.5295 GB, free: 10.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.5019, allocations: 0 / 0.5295 GB, free: 10.28 MB / 410.7 MB Notification: Performance of Templates: time 0.07116/0.5731, allocations: 41.44 MB / 0.57 GB, free: 0.8008 MB / 442.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.775030212011188]