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.0007834/0.0007834, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003588/0.003588, allocations: 160.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8627/0.8627, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.08528/0.08528, allocations: 19.74 MB / 281.2 MB, free: 9.449 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 1.172 kB / 417.8 MB, free: 7.371 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.803e-05, allocations: 2.984 kB / 417.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.06131/0.06134, allocations: 97.8 MB / 0.5035 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.07171, allocations: 10.38 MB / 0.5137 GB, free: 6.133 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005389/0.07225, allocations: 27.75 kB / 0.5137 GB, free: 6.105 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.07339, allocations: 0.5314 MB / 0.5142 GB, free: 5.57 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007287/0.07412, allocations: 0.6595 MB / 0.5149 GB, free: 4.906 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01275/0.08687, allocations: 5.749 MB / 0.5205 GB, free: 15.14 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.08817, allocations: 1.723 MB / 0.5222 GB, free: 13.41 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005312/0.0887, allocations: 0.5165 MB / 0.5227 GB, free: 12.88 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009912/0.08969, allocations: 0.9038 MB / 0.5235 GB, free: 11.97 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.09011, allocations: 0.5452 MB / 0.5241 GB, free: 11.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/0.09017, allocations: 64 kB / 0.5241 GB, free: 11.36 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006647/0.09681, allocations: 6.167 MB / 0.5302 GB, free: 5.191 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.09719, allocations: 167.3 kB / 0.5303 GB, free: 5.027 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.09738, allocations: 299.4 kB / 0.5306 GB, free: 4.734 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004383/0.1018, allocations: 5.308 MB / 0.5358 GB, free: 15.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1018, allocations: 0 / 0.5358 GB, free: 15.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.1018, allocations: 0 / 0.5358 GB, free: 15.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1018, allocations: 0 / 0.5358 GB, free: 15.41 MB / 458.7 MB 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.001976/0.1038, allocations: 1.507 MB / 0.5373 GB, free: 13.87 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1038, allocations: 19.97 kB / 0.5373 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006191/0.1044, allocations: 144.3 kB / 0.5374 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.1049, allocations: 433.9 kB / 0.5378 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.105, allocations: 49.69 kB / 0.5379 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.105, allocations: 60.38 kB / 0.5379 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009571/0.106, allocations: 0.8068 MB / 0.5387 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.106, allocations: 4.125 kB / 0.5387 GB, free: 12.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.106, allocations: 35.94 kB / 0.5388 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.106, allocations: 20 kB / 0.5388 GB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008078/0.1068, allocations: 0.5827 MB / 0.5393 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.1088, allocations: 2.655 MB / 0.5419 GB, free: 8.902 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007475/0.1095, allocations: 468.7 kB / 0.5424 GB, free: 8.426 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.1097, allocations: 161.6 kB / 0.5425 GB, free: 8.262 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02739/0.1371, allocations: 17.53 MB / 0.5597 GB, free: 6.719 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1372, allocations: 42.56 kB / 0.5597 GB, free: 6.668 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 2.284e-06/0.1372, allocations: 0 / 0.5597 GB, free: 6.668 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.001311/0.1385, allocations: 0.6873 MB / 0.5604 GB, free: 5.977 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1385, allocations: 81.11 kB / 0.5604 GB, free: 5.879 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.1388, allocations: 385.8 kB / 0.5608 GB, free: 5.488 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1388, allocations: 29.7 kB / 0.5608 GB, free: 5.453 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.139, allocations: 356.6 kB / 0.5612 GB, free: 5.102 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.1391, allocations: 119 kB / 0.5613 GB, free: 4.984 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.1392, allocations: 69.97 kB / 0.5614 GB, free: 4.906 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1393, allocations: 354.8 kB / 0.5617 GB, free: 4.551 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.1395, allocations: 138.1 kB / 0.5618 GB, free: 4.414 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.1397, allocations: 205.8 kB / 0.562 GB, free: 4.184 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.1401, allocations: 339.4 kB / 0.5624 GB, free: 3.824 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1402, allocations: 0 / 0.5624 GB, free: 3.824 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005522/0.1407, allocations: 424 kB / 0.5628 GB, free: 3.406 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1407, allocations: 8 kB / 0.5628 GB, free: 3.398 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1407, allocations: 0 / 0.5628 GB, free: 3.398 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1407, allocations: 7.938 kB / 0.5628 GB, free: 3.391 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.141, allocations: 87.88 kB / 0.5629 GB, free: 3.305 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.141, allocations: 12.19 kB / 0.5629 GB, free: 3.293 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1411, allocations: 47.64 kB / 0.5629 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.1412, allocations: 15.98 kB / 0.5629 GB, free: 3.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002419/0.1414, allocations: 224.8 kB / 0.5631 GB, free: 3.008 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001601/0.1416, allocations: 188 kB / 0.5633 GB, free: 2.785 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000303/0.1419, allocations: 306.9 kB / 0.5636 GB, free: 2.445 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.1419, allocations: 4 kB / 0.5636 GB, free: 2.441 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003883/0.1422, allocations: 368.9 kB / 0.564 GB, free: 2.074 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.1423, allocations: 8 kB / 0.564 GB, free: 2.066 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-06/0.1423, allocations: 352 / 0.564 GB, free: 2.066 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/0.1423, allocations: 8 kB / 0.564 GB, free: 2.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.1424, allocations: 83.89 kB / 0.5641 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1424, allocations: 7.984 kB / 0.5641 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-05/0.1425, allocations: 23.89 kB / 0.5641 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.1425, allocations: 23.92 kB / 0.5641 GB, free: 1.922 MB / 474.7 MB 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.0001083/0.1426, allocations: 203.5 kB / 0.5643 GB, free: 1.719 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.1427, allocations: 51.67 kB / 0.5644 GB, free: 1.668 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.1441, allocations: 1.641 MB / 0.566 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/0.1442, allocations: 24.02 kB / 0.566 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1442, allocations: 3.938 kB / 0.566 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1442, allocations: 7.875 kB / 0.566 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.1448, allocations: 0.8121 MB / 0.5668 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1448, allocations: 0 / 0.5668 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1449, allocations: 63.95 kB / 0.5669 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1449, allocations: 0 / 0.5669 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.145, allocations: 12 kB / 0.5669 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.145, allocations: 7.938 kB / 0.5669 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.145, allocations: 0 / 0.5669 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007821/0.1458, allocations: 1.004 MB / 0.5679 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1459, allocations: 111.1 kB / 0.568 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.1459, allocations: 12 kB / 0.568 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.146, allocations: 19.97 kB / 0.568 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/0.1461, allocations: 43.94 kB / 0.568 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1461, allocations: 11.98 kB / 0.568 GB, free: 13.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.1463, allocations: 259.1 kB / 0.5683 GB, free: 13.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1463, allocations: 0 / 0.5683 GB, free: 13.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002081/0.1484, allocations: 1.103 MB / 0.5694 GB, free: 12.48 MB / 490.7 MB 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.002105/0.1505, allocations: 1.106 MB / 0.5704 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007692/0.1513, allocations: 0.6419 MB / 0.5711 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1513, allocations: 0 / 0.5711 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.1516, allocations: 351.1 kB / 0.5714 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.1523, allocations: 226.1 kB / 0.5716 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.1542, allocations: 1.646 MB / 0.5732 GB, free: 8.477 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.1545, allocations: 392.4 kB / 0.5736 GB, free: 8.062 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1546, allocations: 48.48 kB / 0.5737 GB, free: 8.016 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1546, allocations: 0 / 0.5737 GB, free: 8.016 MB / 490.7 MB Notification: Performance of Templates: time 0.01849/0.1731, allocations: 23.08 MB / 0.5962 GB, free: 0.9336 MB / 0.4948 GB " [Timeout remaining time 660] 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: 5.966412955895066] Failed to read output from testmodel.py, exit status != 0: 0.35419778525829315 0.363583557 0.26004048900000004 Calling exit ...