Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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.00187/0.00187, 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.001956/0.001956, allocations: 169.3 kB / 24.27 MB, free: 156 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.302/1.302, allocations: 158.6 MB / 186.1 MB, free: 2.898 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.2789/0.2789, allocations: 36.34 MB / 274.7 MB, free: 10.7 MB / 266.7 MB " [Timeout remaining time 179] 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.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.035e-05, allocations: 5.688 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.3201/0.3201, allocations: 113 MB / 466.1 MB, free: 17.3 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.3332, allocations: 11.58 MB / 477.7 MB, free: 16.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.3342, allocations: 25.81 kB / 477.7 MB, free: 16.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.3357, allocations: 0.5587 MB / 478.2 MB, free: 16.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.337, allocations: 0.7009 MB / 478.9 MB, free: 16.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01397/0.3509, allocations: 5.762 MB / 484.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.3532, allocations: 1.941 MB / 486.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008231/0.3541, allocations: 0.6001 MB / 487.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.3553, allocations: 0.9964 MB / 488.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006658/0.356, allocations: 0.6115 MB / 488.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.3561, allocations: 83.22 kB / 488.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/0.3667, allocations: 6.143 MB / 495.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.367, allocations: 201 kB / 495.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007472/0.3678, allocations: 358 kB / 495.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.3797, allocations: 5.435 MB / 0.4893 GB, free: 6.902 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3797, allocations: 0 / 0.4893 GB, free: 6.902 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3797, allocations: 0 / 0.4893 GB, free: 6.902 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.3797, allocations: 0 / 0.4893 GB, free: 6.902 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004698/0.3844, allocations: 1.914 MB / 0.4912 GB, free: 4.934 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3844, allocations: 12.03 kB / 0.4912 GB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.3849, allocations: 216.1 kB / 0.4914 GB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007301/0.3856, allocations: 489.5 kB / 0.4919 GB, free: 4.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.3857, allocations: 50.38 kB / 0.4919 GB, free: 4.172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-05/0.3858, allocations: 72.38 kB / 0.492 GB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.3877, allocations: 1.022 MB / 0.493 GB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.3877, allocations: 4.375 kB / 0.493 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/0.3878, allocations: 31.94 kB / 0.493 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.3878, allocations: 16 kB / 0.493 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.3895, allocations: 0.7029 MB / 0.4937 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004327/0.3938, allocations: 3.846 MB / 0.4975 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.3959, allocations: 0.6227 MB / 0.4981 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/0.3966, allocations: 231.2 kB / 0.4983 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06659/0.4632, allocations: 16.8 MB / 0.5147 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001684/0.4649, allocations: 0.5125 MB / 0.5152 GB, free: 12.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.525e-06/0.4649, allocations: 0 / 0.5152 GB, free: 12.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.003366/0.4682, allocations: 0.9725 MB / 0.5162 GB, free: 11.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.4683, allocations: 89.09 kB / 0.5162 GB, free: 10.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008106/0.4691, allocations: 0.5729 MB / 0.5168 GB, free: 10.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.826e-05/0.4692, allocations: 33.7 kB / 0.5168 GB, free: 10.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/0.4697, allocations: 463.1 kB / 0.5173 GB, free: 9.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.4699, allocations: 153.9 kB / 0.5174 GB, free: 9.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.4701, allocations: 115.8 kB / 0.5175 GB, free: 9.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003609/0.4705, allocations: 0.5586 MB / 0.5181 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000845/0.4713, allocations: 340.4 kB / 0.5184 GB, free: 8.684 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009337/0.4722, allocations: 469.9 kB / 0.5189 GB, free: 8.152 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.4737, allocations: 0.6285 MB / 0.5195 GB, free: 7.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.4737, allocations: 0 / 0.5195 GB, free: 7.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002346/0.4761, allocations: 0.8857 MB / 0.5203 GB, free: 6.512 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.4762, allocations: 118.8 kB / 0.5204 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.4762, allocations: 4 kB / 0.5204 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/0.4763, allocations: 4 kB / 0.5205 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.4769, allocations: 120.2 kB / 0.5206 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.4769, allocations: 19.88 kB / 0.5206 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.4775, allocations: 63.77 kB / 0.5206 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.4775, allocations: 23.98 kB / 0.5207 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009387/0.4785, allocations: 486.6 kB / 0.5211 GB, free: 5.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008329/0.4793, allocations: 459.3 kB / 0.5216 GB, free: 5.105 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001331/0.4806, allocations: 0.6192 MB / 0.5222 GB, free: 4.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/0.4806, allocations: 0 / 0.5222 GB, free: 4.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001816/0.4824, allocations: 0.8419 MB / 0.523 GB, free: 3.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.4825, allocations: 122.8 kB / 0.5231 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4825, allocations: 0 / 0.5231 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4826, allocations: 12.36 kB / 0.5231 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/0.4831, allocations: 123.8 kB / 0.5232 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4831, allocations: 4 kB / 0.5232 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.4835, allocations: 67.7 kB / 0.5233 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/0.4836, allocations: 23.98 kB / 0.5233 GB, free: 3.133 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 (Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition3,$whenCondition4,Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition1,$whenCondition2,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase,T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * 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.0002959/0.4839, allocations: 309.8 kB / 0.5236 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.4841, allocations: 86.55 kB / 0.5237 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.4864, allocations: 1.212 MB / 0.5249 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/0.4865, allocations: 19.97 kB / 0.5249 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4865, allocations: 0 / 0.5249 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.4865, allocations: 7.984 kB / 0.5249 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.4891, allocations: 1.472 MB / 0.5264 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.4891, allocations: 0 / 0.5264 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/0.4895, allocations: 83.83 kB / 0.5264 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.4895, allocations: 4 kB / 0.5264 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003192/0.4898, allocations: 15.98 kB / 0.5265 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.4898, allocations: 0 / 0.5265 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.4898, allocations: 11.97 kB / 0.5265 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.4918, allocations: 1.01 MB / 0.5275 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.4922, allocations: 135.1 kB / 0.5276 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.429e-05/0.4922, allocations: 8 kB / 0.5276 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.4927, allocations: 55.83 kB / 0.5276 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/0.493, allocations: 95.86 kB / 0.5277 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.493, allocations: 12 kB / 0.5278 GB, free: 14.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004671/0.4935, allocations: 366.8 kB / 0.5281 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.4935, allocations: 0 / 0.5281 GB, free: 14.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003845/0.4973, allocations: 1.169 MB / 0.5292 GB, free: 13.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count) * Number of discrete states: 4 (Sine3.count,Sine4.count,Sine2.count,Sine1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 34 * 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.004887/0.5022, allocations: 1.1 MB / 0.5303 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003313/0.5055, allocations: 1.549 MB / 0.5318 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5055, allocations: 0 / 0.5318 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009886/0.5065, allocations: 392.3 kB / 0.5322 GB, free: 9.891 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.5081, allocations: 280.2 kB / 0.5325 GB, free: 9.621 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.5118, allocations: 1.644 MB / 0.5341 GB, free: 7.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.5123, allocations: 423.2 kB / 0.5345 GB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007812/0.5131, allocations: 367.9 kB / 0.5348 GB, free: 7.121 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.5133, allocations: 56.5 kB / 0.5349 GB, free: 7.062 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/0.5133, allocations: 0 / 0.5349 GB, free: 7.062 MB / 410.7 MB Notification: Performance of Templates: time 0.0713/0.5846, allocations: 41.13 MB / 0.5751 GB, free: 13.9 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.691587519948371]