Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001358/0.001358, allocations: 77.78 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.001474/0.001474, allocations: 161.9 kB / 24.55 MB, free: 3.828 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.413/1.413, allocations: 177.2 MB / 204.9 MB, free: 9.285 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.1404/0.1404, 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.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev") [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.002117/0.002117, allocations: 63.91 kB / 417.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2562, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.1104/0.3666, allocations: 96.18 MB / 0.5608 GB, free: 1.789 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02065/0.3872, allocations: 10.42 MB / 0.571 GB, free: 7.328 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.3883, allocations: 31.75 kB / 0.571 GB, free: 7.297 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.3908, allocations: 0.5161 MB / 0.5715 GB, free: 6.777 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.3931, allocations: 0.6445 MB / 0.5722 GB, free: 6.129 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02309/0.4162, allocations: 5.698 MB / 0.5777 GB, free: 436 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002654/0.4188, allocations: 1.821 MB / 0.5795 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.4199, allocations: 0.5479 MB / 0.58 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.4218, allocations: 1.009 MB / 0.581 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.423, allocations: 0.6612 MB / 0.5817 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.4232, allocations: 84 kB / 0.5817 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01262/0.4358, allocations: 6.146 MB / 0.5878 GB, free: 6.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003545/0.4362, allocations: 191.2 kB / 0.5879 GB, free: 5.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007796/0.4369, allocations: 406.3 kB / 0.5883 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.4476, allocations: 4.43 MB / 0.5926 GB, free: 1.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4476, allocations: 3.938 kB / 0.5927 GB, free: 1.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4476, allocations: 0 / 0.5927 GB, free: 1.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.912e-05/0.4477, allocations: 4 kB / 0.5927 GB, free: 1.078 MB / 494.1 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.005361/0.453, allocations: 1.82 MB / 0.5944 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4531, allocations: 8.031 kB / 0.5944 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004195/0.4535, allocations: 128.3 kB / 0.5946 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009313/0.4544, allocations: 476.6 kB / 0.595 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.184e-05/0.4545, allocations: 53.69 kB / 0.5951 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.4546, allocations: 71.94 kB / 0.5951 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.4571, allocations: 0.9669 MB / 0.5961 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.4571, allocations: 0 / 0.5961 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.4572, allocations: 32 kB / 0.5961 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.4572, allocations: 16 kB / 0.5961 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.4598, allocations: 0.7855 MB / 0.5969 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.4639, allocations: 2.59 MB / 0.5994 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.4665, allocations: 0.7035 MB / 0.6001 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009343/0.4674, allocations: 286.1 kB / 0.6004 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06289/0.5303, allocations: 17.55 MB / 0.6175 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001768/0.5321, allocations: 0.5489 MB / 0.6181 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.905e-06/0.5321, allocations: 0 / 0.6181 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.003919/0.536, allocations: 1.089 MB / 0.6191 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.5361, allocations: 85.11 kB / 0.6192 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005602/0.5366, allocations: 442 kB / 0.6196 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/0.5367, allocations: 41.7 kB / 0.6197 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.537, allocations: 364.7 kB / 0.62 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.5372, allocations: 154.7 kB / 0.6202 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.5374, allocations: 94.17 kB / 0.6202 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.5376, allocations: 362.8 kB / 0.6206 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009933/0.5386, allocations: 385.4 kB / 0.621 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.5396, allocations: 462.4 kB / 0.6214 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.5415, allocations: 0.6766 MB / 0.6221 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5415, allocations: 0 / 0.6221 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002311/0.5438, allocations: 0.9436 MB / 0.623 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.5439, allocations: 126.8 kB / 0.6231 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.5439, allocations: 0 / 0.6231 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.5439, allocations: 4 kB / 0.6231 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/0.5446, allocations: 131.8 kB / 0.6232 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.5446, allocations: 4 kB / 0.6232 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/0.5453, allocations: 111.5 kB / 0.6233 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.5453, allocations: 27.92 kB / 0.6234 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001066/0.5464, allocations: 491.7 kB / 0.6238 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009494/0.5474, allocations: 449.9 kB / 0.6243 GB, free: 56 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001726/0.5491, allocations: 0.6625 MB / 0.6249 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.5491, allocations: 0 / 0.6249 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.002156/0.5512, allocations: 0.9255 MB / 0.6258 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.443e-05/0.5513, allocations: 118.8 kB / 0.6259 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5513, allocations: 4 kB / 0.6259 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-06/0.5513, allocations: 4 kB / 0.6259 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.552, allocations: 127.8 kB / 0.6261 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.552, allocations: 8.188 kB / 0.6261 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/0.5526, allocations: 103.6 kB / 0.6262 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.5526, allocations: 24 kB / 0.6262 GB, free: 13.95 MB / 0.5294 GB 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.0002183/0.5528, allocations: 218.1 kB / 0.6264 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.5529, allocations: 59.67 kB / 0.6265 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/0.5563, allocations: 1.926 MB / 0.6283 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5563, allocations: 0 / 0.6283 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5563, allocations: 4 kB / 0.6283 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.5566, allocations: 131 kB / 0.6285 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.018e-05/0.5566, allocations: 15.98 kB / 0.6285 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.5572, allocations: 79.89 kB / 0.6286 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.5574, allocations: 83.81 kB / 0.6286 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002932/0.5604, allocations: 1.297 MB / 0.6299 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002555/0.5629, allocations: 1.353 MB / 0.6312 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001158/0.5641, allocations: 473.7 kB / 0.6317 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003459/0.5644, allocations: 302.9 kB / 0.632 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of Backend: time 4.31e-07/0.5644, allocations: 0 / 0.632 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007551/0.572, allocations: 2.57 MB / 0.6345 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002694/0.5747, allocations: 1.834 MB / 0.6363 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of Templates: time 0.2366/0.8112, allocations: 46.37 MB / 0.6815 GB, free: 129.9 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.693136329995468] Failed to read output from testmodel.py, exit status != 0: 0.8196460789768025 0.828336229 0.37821737800000005 Calling exit ...