Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.001754/0.001754, allocations: 80.02 kB / 20.49 MB, free: 1.211 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.002077/0.002077, allocations: 165.7 kB / 23.75 MB, free: 4.234 MB / 14.72 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.348/1.348, allocations: 158.6 MB / 185.5 MB, free: 6.492 MB / 174.1 MB " [Timeout remaining time 178] 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.2754/0.2754, allocations: 36.34 MB / 274.1 MB, free: 14.8 MB / 270.1 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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002658/0.002658, allocations: 75.91 kB / 414.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3162, allocations: 62.39 MB / 476.9 MB, free: 4.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.108/0.4242, allocations: 97.93 MB / 0.5613 GB, free: 8.301 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01537/0.4396, allocations: 10.31 MB / 0.5714 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009137/0.4405, allocations: 27.75 kB / 0.5714 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.4421, allocations: 0.5395 MB / 0.572 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.4433, allocations: 0.6213 MB / 0.5726 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01567/0.459, allocations: 5.654 MB / 0.5781 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002295/0.4613, allocations: 1.657 MB / 0.5797 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008383/0.4621, allocations: 0.5049 MB / 0.5802 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.4633, allocations: 0.9152 MB / 0.5811 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008514/0.4642, allocations: 0.6067 MB / 0.5817 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.626e-05/0.4643, allocations: 68 kB / 0.5818 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01192/0.4762, allocations: 6.13 MB / 0.5877 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.4765, allocations: 163.3 kB / 0.5879 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.477, allocations: 354.5 kB / 0.5882 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008779/0.4858, allocations: 4.302 MB / 0.5924 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4858, allocations: 0 / 0.5924 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4858, allocations: 0 / 0.5924 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.4858, allocations: 7.938 kB / 0.5924 GB, free: 8.344 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003901/0.4897, allocations: 1.503 MB / 0.5939 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.4897, allocations: 8.031 kB / 0.5939 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.4901, allocations: 116.4 kB / 0.594 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007827/0.4909, allocations: 422.6 kB / 0.5944 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.4909, allocations: 45.69 kB / 0.5945 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.994e-05/0.491, allocations: 68.38 kB / 0.5945 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.4927, allocations: 0.81 MB / 0.5953 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.4927, allocations: 7.984 kB / 0.5953 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/0.4928, allocations: 24 kB / 0.5954 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.4928, allocations: 23.94 kB / 0.5954 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.4944, allocations: 0.5904 MB / 0.596 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/0.498, allocations: 2.636 MB / 0.5985 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.4995, allocations: 464.8 kB / 0.599 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.4998, allocations: 157.6 kB / 0.5991 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05948/0.5593, allocations: 16.82 MB / 0.6156 GB, free: 436 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.5594, allocations: 38.56 kB / 0.6156 GB, free: 388 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.275e-06/0.5594, allocations: 0 / 0.6156 GB, free: 388 kB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.002416/0.5618, allocations: 0.6891 MB / 0.6163 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.5619, allocations: 81.11 kB / 0.6163 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.5623, allocations: 373.9 kB / 0.6167 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.5624, allocations: 29.7 kB / 0.6167 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.5626, allocations: 356.6 kB / 0.6171 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.5628, allocations: 115 kB / 0.6172 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.5629, allocations: 70.02 kB / 0.6172 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5631, allocations: 354.8 kB / 0.6176 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.5635, allocations: 138.1 kB / 0.6177 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.5639, allocations: 201.8 kB / 0.6179 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007658/0.5646, allocations: 336.4 kB / 0.6182 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5646, allocations: 0 / 0.6182 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001007/0.5657, allocations: 413.2 kB / 0.6186 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5657, allocations: 4 kB / 0.6186 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5657, allocations: 7.984 kB / 0.6186 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.5657, allocations: 11.92 kB / 0.6186 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.5662, allocations: 83.89 kB / 0.6187 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.5662, allocations: 11.92 kB / 0.6187 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.5665, allocations: 35.77 kB / 0.6188 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.5665, allocations: 16 kB / 0.6188 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003998/0.5669, allocations: 228.8 kB / 0.619 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003075/0.5672, allocations: 184 kB / 0.6192 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005602/0.5678, allocations: 307.1 kB / 0.6195 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.5678, allocations: 0 / 0.6195 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006979/0.5685, allocations: 369 kB / 0.6198 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5685, allocations: 11.91 kB / 0.6198 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.5685, allocations: 8 kB / 0.6198 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/0.5685, allocations: 4 kB / 0.6198 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.5689, allocations: 87.83 kB / 0.6199 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.5689, allocations: 8.281 kB / 0.6199 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.5691, allocations: 35.81 kB / 0.62 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.5691, allocations: 19.98 kB / 0.62 GB, free: 11.66 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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.0001772/0.5693, allocations: 200.8 kB / 0.6202 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5694, allocations: 55.61 kB / 0.6202 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.5715, allocations: 1.633 MB / 0.6218 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/0.5716, allocations: 27.89 kB / 0.6219 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5716, allocations: 7.938 kB / 0.6219 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5716, allocations: 4 kB / 0.6219 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.5726, allocations: 0.8044 MB / 0.6227 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5726, allocations: 0 / 0.6227 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.573, allocations: 71.88 kB / 0.6227 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.573, allocations: 0 / 0.6227 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.573, allocations: 8 kB / 0.6227 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.573, allocations: 4 kB / 0.6227 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.573, allocations: 3.938 kB / 0.6227 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.5745, allocations: 1.008 MB / 0.6237 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.5746, allocations: 111.2 kB / 0.6238 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/0.5747, allocations: 8 kB / 0.6238 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.575, allocations: 15.98 kB / 0.6239 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.5751, allocations: 51.81 kB / 0.6239 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.5752, allocations: 12 kB / 0.6239 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002857/0.5755, allocations: 247.2 kB / 0.6241 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5755, allocations: 0 / 0.6241 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003513/0.579, allocations: 1.095 MB / 0.6252 GB, free: 6.238 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * 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.003505/0.5825, allocations: 0.9776 MB / 0.6262 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.584, allocations: 0.6418 MB / 0.6268 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.584, allocations: 3.938 kB / 0.6268 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006414/0.5847, allocations: 349.8 kB / 0.6271 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.5861, allocations: 234.9 kB / 0.6274 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.5892, allocations: 1.627 MB / 0.6289 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.5896, allocations: 392.4 kB / 0.6293 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007026/0.5903, allocations: 370.6 kB / 0.6297 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.5905, allocations: 44.5 kB / 0.6297 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/0.5905, allocations: 0 / 0.6297 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of Templates: time 0.2725/0.8629, allocations: 37.03 MB / 0.6659 GB, free: 185.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.861231196671724] Failed to read output from testmodel.py, exit status != 0: 0.8723990991711617 0.883668477 0.395368831 Calling exit ...