Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.00128/0.00128, allocations: 78.02 kB / 21.28 MB, free: 0.5273 MB / 14.72 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.001436/0.001436, allocations: 161.4 kB / 24.54 MB, free: 3.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 177.2 MB / 204.9 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1406/0.1406, allocations: 19.71 MB / 281 MB, free: 13.06 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSplitRev") translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSplitRev") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 71.84 kB / 417.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2713, allocations: 60.44 MB / 478.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.1161/0.3873, allocations: 100.5 MB / 0.565 GB, free: 13.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.4036, allocations: 10.44 MB / 0.5752 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.4046, allocations: 27.75 kB / 0.5752 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.4066, allocations: 0.551 MB / 0.5758 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.4083, allocations: 0.6639 MB / 0.5764 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.016/0.4243, allocations: 5.698 MB / 0.582 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002613/0.4269, allocations: 1.864 MB / 0.5838 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.4279, allocations: 0.5718 MB / 0.5844 GB, free: 9.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.4296, allocations: 1.024 MB / 0.5854 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009363/0.4305, allocations: 0.6806 MB / 0.586 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.4306, allocations: 80 kB / 0.5861 GB, free: 7.812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.4425, allocations: 6.15 MB / 0.5921 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.4428, allocations: 191.2 kB / 0.5923 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006586/0.4435, allocations: 418.2 kB / 0.5927 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009441/0.4529, allocations: 4.446 MB / 0.597 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4529, allocations: 3.938 kB / 0.597 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4529, allocations: 0 / 0.597 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.4529, allocations: 0 / 0.597 GB, free: 12.6 MB / 0.4981 GB 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.00493/0.4579, allocations: 1.838 MB / 0.5988 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.4579, allocations: 12.02 kB / 0.5988 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/0.4583, allocations: 132.2 kB / 0.599 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008677/0.4591, allocations: 472.6 kB / 0.5994 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.4592, allocations: 54.38 kB / 0.5995 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.4593, allocations: 68.38 kB / 0.5995 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.4617, allocations: 1.005 MB / 0.6005 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.4617, allocations: 0 / 0.6005 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.14e-05/0.4618, allocations: 28 kB / 0.6005 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.4618, allocations: 20 kB / 0.6006 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.4644, allocations: 0.7972 MB / 0.6013 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00438/0.4688, allocations: 2.959 MB / 0.6042 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.4712, allocations: 0.6872 MB / 0.6049 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000901/0.4721, allocations: 273.5 kB / 0.6052 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06341/0.5355, allocations: 17.55 MB / 0.6223 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001863/0.5374, allocations: 0.537 MB / 0.6228 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 4.699e-06/0.5374, allocations: 4 kB / 0.6228 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.004053/0.5414, allocations: 1.062 MB / 0.6239 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.5415, allocations: 85.11 kB / 0.624 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.5421, allocations: 454.8 kB / 0.6244 GB, free: 232 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.5421, allocations: 37.7 kB / 0.6244 GB, free: 188 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.5425, allocations: 396.4 kB / 0.6248 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.5426, allocations: 146.8 kB / 0.6249 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.5428, allocations: 98.17 kB / 0.625 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.543, allocations: 366.8 kB / 0.6254 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.5441, allocations: 381.4 kB / 0.6257 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.5452, allocations: 481.7 kB / 0.6262 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.547, allocations: 0.6831 MB / 0.6269 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.547, allocations: 4 kB / 0.6269 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002473/0.5495, allocations: 0.9512 MB / 0.6278 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.5496, allocations: 118.8 kB / 0.6279 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.5496, allocations: 7.938 kB / 0.6279 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.5496, allocations: 8.25 kB / 0.6279 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/0.5503, allocations: 147.7 kB / 0.6281 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/0.5503, allocations: 7.984 kB / 0.6281 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007292/0.5511, allocations: 107.6 kB / 0.6282 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.5511, allocations: 23.98 kB / 0.6282 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00112/0.5523, allocations: 483.7 kB / 0.6287 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009673/0.5532, allocations: 471.5 kB / 0.6291 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001706/0.5549, allocations: 0.6573 MB / 0.6298 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.309e-06/0.5549, allocations: 0 / 0.6298 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.002244/0.5572, allocations: 0.926 MB / 0.6307 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.491e-05/0.5573, allocations: 114.8 kB / 0.6308 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.5573, allocations: 4 kB / 0.6308 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.5573, allocations: 4 kB / 0.6308 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.5579, allocations: 139.7 kB / 0.6309 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5579, allocations: 12.22 kB / 0.6309 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/0.5585, allocations: 91.69 kB / 0.631 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.5586, allocations: 27.98 kB / 0.631 GB, free: 8.914 MB / 0.5294 GB 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.0002412/0.5588, allocations: 222 kB / 0.6313 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.559, allocations: 63.62 kB / 0.6313 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/0.5624, allocations: 1.903 MB / 0.6332 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.5624, allocations: 3.984 kB / 0.6332 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.5624, allocations: 0 / 0.6332 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.5627, allocations: 131.1 kB / 0.6333 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/0.5628, allocations: 15.94 kB / 0.6333 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/0.5634, allocations: 83.88 kB / 0.6334 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.5636, allocations: 71.89 kB / 0.6335 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002943/0.5665, allocations: 1.285 MB / 0.6347 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00259/0.5691, allocations: 1.333 MB / 0.636 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001137/0.5702, allocations: 464.9 kB / 0.6365 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003665/0.5706, allocations: 302.9 kB / 0.6368 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of Backend: time 5.51e-07/0.5706, allocations: 0 / 0.6368 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007714/0.5783, allocations: 2.572 MB / 0.6393 GB, free: 304 kB / 0.5294 GB Notification: Performance of SimCode: time 0.2124/0.7908, allocations: 1.853 MB / 0.6411 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.0464/0.8372, allocations: 46.11 MB / 0.6861 GB, free: 125.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSplitRev.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSplitRev.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSplitRev.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSplitRev -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.619518436957151] Failed to read output from testmodel.py, exit status != 0: 0.8456349340267479 0.854401337 0.399094958 Calling exit ...