Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001848/0.001848, allocations: 76.75 kB / 20.52 MB, free: 1.367 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.002073/0.002073, allocations: 162.9 kB / 23.78 MB, free: 4.539 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.467/1.467, allocations: 177.2 MB / 204.1 MB, free: 9.273 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.1405/0.1405, allocations: 19.7 MB / 280.3 MB, free: 13.05 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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") [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.002162/0.002162, allocations: 67.91 kB / 416.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2776, allocations: 60.47 MB / 477.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.1178/0.3953, allocations: 98.15 MB / 0.562 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01586/0.4112, allocations: 10.37 MB / 0.5721 GB, free: 5.426 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007984/0.412, allocations: 27.75 kB / 0.5721 GB, free: 5.398 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.4137, allocations: 0.5316 MB / 0.5727 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.4152, allocations: 0.633 MB / 0.5733 GB, free: 4.227 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01666/0.4319, allocations: 5.675 MB / 0.5788 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002637/0.4345, allocations: 1.654 MB / 0.5804 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.4358, allocations: 0.5088 MB / 0.5809 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.4379, allocations: 0.9347 MB / 0.5818 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.439, allocations: 0.6067 MB / 0.5824 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.4392, allocations: 64 kB / 0.5825 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01319/0.4524, allocations: 6.146 MB / 0.5885 GB, free: 4.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.4527, allocations: 167.3 kB / 0.5887 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006592/0.4534, allocations: 366.5 kB / 0.589 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.464, allocations: 4.317 MB / 0.5932 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.464, allocations: 4 kB / 0.5932 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.464, allocations: 0 / 0.5932 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.563e-05/0.4641, allocations: 0 / 0.5932 GB, free: 15.74 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.004499/0.4686, allocations: 1.515 MB / 0.5947 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4686, allocations: 12.03 kB / 0.5947 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007101/0.4693, allocations: 156.3 kB / 0.5949 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008578/0.4702, allocations: 430.7 kB / 0.5953 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.4702, allocations: 49.69 kB / 0.5953 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.654e-05/0.4703, allocations: 60.38 kB / 0.5954 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.4721, allocations: 0.8139 MB / 0.5962 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.4722, allocations: 4 kB / 0.5962 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.4722, allocations: 24 kB / 0.5962 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.4722, allocations: 20 kB / 0.5962 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.4739, allocations: 0.5827 MB / 0.5968 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003812/0.4777, allocations: 2.663 MB / 0.5994 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.4792, allocations: 460.8 kB / 0.5998 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/0.4796, allocations: 161.6 kB / 0.6 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06265/0.5422, allocations: 17.55 MB / 0.6171 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.5423, allocations: 38.56 kB / 0.6172 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/0.5423, allocations: 4 kB / 0.6172 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.002743/0.545, allocations: 0.6952 MB / 0.6178 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.5451, allocations: 81.11 kB / 0.6179 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.5456, allocations: 369.9 kB / 0.6183 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.5456, allocations: 37.7 kB / 0.6183 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.5459, allocations: 352.5 kB / 0.6186 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.5461, allocations: 114.9 kB / 0.6188 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.5462, allocations: 77.97 kB / 0.6188 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.5464, allocations: 358.8 kB / 0.6192 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.5468, allocations: 134.1 kB / 0.6193 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.5473, allocations: 205.8 kB / 0.6195 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008031/0.5481, allocations: 335.5 kB / 0.6198 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5481, allocations: 0 / 0.6198 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00109/0.5492, allocations: 427.8 kB / 0.6202 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.5492, allocations: 11.98 kB / 0.6202 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5492, allocations: 0 / 0.6202 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.5492, allocations: 11.92 kB / 0.6202 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.5497, allocations: 87.88 kB / 0.6203 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.5497, allocations: 7.938 kB / 0.6203 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.5501, allocations: 36.08 kB / 0.6204 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.5501, allocations: 16 kB / 0.6204 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004065/0.5505, allocations: 224.7 kB / 0.6206 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003169/0.5508, allocations: 188 kB / 0.6208 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000572/0.5514, allocations: 298.9 kB / 0.6211 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.5514, allocations: 0 / 0.6211 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.000788/0.5522, allocations: 380.8 kB / 0.6214 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.5522, allocations: 4 kB / 0.6214 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.5522, allocations: 4 kB / 0.6214 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.5522, allocations: 4.344 kB / 0.6214 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.5525, allocations: 91.83 kB / 0.6215 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.5526, allocations: 7.938 kB / 0.6215 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.5528, allocations: 31.83 kB / 0.6216 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.5528, allocations: 19.98 kB / 0.6216 GB, free: 2.23 MB / 0.5137 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.0001758/0.553, allocations: 206.7 kB / 0.6218 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.5531, allocations: 47.72 kB / 0.6218 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.5554, allocations: 1.641 MB / 0.6234 GB, free: 332 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/0.5554, allocations: 23.91 kB / 0.6235 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5554, allocations: 0 / 0.6235 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5554, allocations: 0 / 0.6235 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.5566, allocations: 0.8199 MB / 0.6243 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5566, allocations: 0 / 0.6243 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.5569, allocations: 67.89 kB / 0.6243 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5569, allocations: 3.938 kB / 0.6243 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.557, allocations: 8 kB / 0.6243 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.557, allocations: 8 kB / 0.6243 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.557, allocations: 7.938 kB / 0.6243 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.5584, allocations: 1.004 MB / 0.6253 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.5587, allocations: 115.2 kB / 0.6254 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/0.5587, allocations: 8 kB / 0.6254 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.559, allocations: 27.91 kB / 0.6255 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.5592, allocations: 43.88 kB / 0.6255 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.5592, allocations: 12 kB / 0.6255 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002946/0.5595, allocations: 255.1 kB / 0.6258 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5595, allocations: 0 / 0.6258 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003064/0.5626, allocations: 1.103 MB / 0.6268 GB, free: 12.78 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.004128/0.5667, allocations: 0.9893 MB / 0.6278 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001563/0.5683, allocations: 0.6383 MB / 0.6284 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5683, allocations: 0 / 0.6284 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006841/0.569, allocations: 347.9 kB / 0.6288 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.5703, allocations: 234.1 kB / 0.629 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.5736, allocations: 1.631 MB / 0.6306 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.574, allocations: 396.4 kB / 0.631 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007123/0.5747, allocations: 366.6 kB / 0.6313 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.5749, allocations: 52.48 kB / 0.6314 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/0.5749, allocations: 3.938 kB / 0.6314 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of Templates: time 0.2524/0.8273, allocations: 37.16 MB / 0.6676 GB, free: 142.9 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.668720476329327] Failed to read output from testmodel.py, exit status != 0: 0.8362197875976562 0.845046094 0.378560104 Calling exit ...