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.001438/0.001438, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.001704/0.001704, allocations: 205.3 kB / 23.72 MB, free: 4.5 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.471/1.471, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.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.3072/0.3072, allocations: 49.6 MB / 336.4 MB, free: 3.871 MB / 270.1 MB " [Timeout remaining time 179] 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.002534/0.002534, allocations: 71.91 kB / 476.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1156, allocations: 62.42 MB / 0.5266 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3134/0.429, allocations: 98.43 MB / 0.6228 GB, free: 2.363 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.4452, allocations: 10.3 MB / 0.6328 GB, free: 8.031 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.4466, allocations: 27.75 kB / 0.6329 GB, free: 8.004 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.4486, allocations: 0.5356 MB / 0.6334 GB, free: 7.465 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.4504, allocations: 0.6369 MB / 0.634 GB, free: 6.824 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01646/0.4668, allocations: 5.635 MB / 0.6395 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.4694, allocations: 1.661 MB / 0.6411 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009158/0.4704, allocations: 0.501 MB / 0.6416 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.4714, allocations: 0.6733 MB / 0.6423 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.4723, allocations: 0.6028 MB / 0.6429 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.4724, allocations: 68 kB / 0.6429 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01209/0.4845, allocations: 6.123 MB / 0.6489 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.4848, allocations: 167.3 kB / 0.6491 GB, free: 7.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.4853, allocations: 362.5 kB / 0.6494 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008109/0.4934, allocations: 4.294 MB / 0.6536 GB, free: 2.711 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4934, allocations: 0 / 0.6536 GB, free: 2.711 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4934, allocations: 0 / 0.6536 GB, free: 2.711 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.4934, allocations: 0 / 0.6536 GB, free: 2.711 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.00378/0.4972, allocations: 1.499 MB / 0.6551 GB, free: 1.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4972, allocations: 8.031 kB / 0.6551 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.4976, allocations: 120.3 kB / 0.6552 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008165/0.4984, allocations: 422.6 kB / 0.6556 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.4985, allocations: 49.69 kB / 0.6556 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.079e-05/0.4986, allocations: 64.56 kB / 0.6557 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.5004, allocations: 0.8139 MB / 0.6565 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.5004, allocations: 0 / 0.6565 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.5005, allocations: 28 kB / 0.6565 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.5005, allocations: 17.06 kB / 0.6565 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.502, allocations: 0.5827 MB / 0.6571 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.5056, allocations: 2.663 MB / 0.6597 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.507, allocations: 453.7 kB / 0.6602 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/0.5074, allocations: 165.6 kB / 0.6603 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06194/0.5693, allocations: 16.82 MB / 0.6767 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.5694, allocations: 38.5 kB / 0.6768 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.524e-06/0.5694, allocations: 0 / 0.6768 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.002368/0.5717, allocations: 0.6864 MB / 0.6774 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.5718, allocations: 85.05 kB / 0.6775 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.5723, allocations: 365.9 kB / 0.6779 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.5723, allocations: 41.69 kB / 0.6779 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.5726, allocations: 348.6 kB / 0.6782 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.5727, allocations: 115 kB / 0.6784 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.5729, allocations: 73.95 kB / 0.6784 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.573, allocations: 354.8 kB / 0.6788 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.5734, allocations: 130.1 kB / 0.6789 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.5738, allocations: 205.8 kB / 0.6791 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.5746, allocations: 329.4 kB / 0.6794 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.5746, allocations: 0.5625 kB / 0.6794 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009999/0.5756, allocations: 417 kB / 0.6798 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.5756, allocations: 8 kB / 0.6798 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5756, allocations: 0 / 0.6798 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.5756, allocations: 4 kB / 0.6798 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.5761, allocations: 97.5 kB / 0.6799 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.5761, allocations: 7.938 kB / 0.6799 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.5764, allocations: 31.83 kB / 0.6799 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.5764, allocations: 19.98 kB / 0.68 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003995/0.5768, allocations: 224.7 kB / 0.6802 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002997/0.5771, allocations: 188 kB / 0.6804 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005473/0.5777, allocations: 315.1 kB / 0.6807 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.931e-06/0.5777, allocations: 4 kB / 0.6807 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006858/0.5784, allocations: 353 kB / 0.681 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.5784, allocations: 4.344 kB / 0.681 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5784, allocations: 9.875 kB / 0.681 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-06/0.5784, allocations: 4 kB / 0.681 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.5787, allocations: 91.81 kB / 0.6811 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5787, allocations: 11.88 kB / 0.6811 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.579, allocations: 31.88 kB / 0.6811 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.579, allocations: 12 kB / 0.6812 GB, free: 6.016 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.0001975/0.5792, allocations: 204.8 kB / 0.6813 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.5793, allocations: 51.67 kB / 0.6814 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.5815, allocations: 1.627 MB / 0.683 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.5815, allocations: 23.91 kB / 0.683 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.5815, allocations: 4 kB / 0.683 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.5815, allocations: 7.969 kB / 0.683 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.5826, allocations: 0.8114 MB / 0.6838 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5826, allocations: 3.938 kB / 0.6838 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.5829, allocations: 71.89 kB / 0.6839 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.5829, allocations: 4 kB / 0.6839 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.583, allocations: 4 kB / 0.6839 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.583, allocations: 4 kB / 0.6839 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.583, allocations: 3.938 kB / 0.6839 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.5844, allocations: 0.9973 MB / 0.6849 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.5846, allocations: 107.2 kB / 0.685 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.5846, allocations: 8 kB / 0.685 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.5849, allocations: 27.97 kB / 0.685 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.5851, allocations: 43.88 kB / 0.6851 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.5851, allocations: 11.98 kB / 0.6851 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002827/0.5854, allocations: 251.2 kB / 0.6853 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5854, allocations: 0 / 0.6853 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002865/0.5882, allocations: 1.095 MB / 0.6864 GB, free: 0.6055 MB / 0.5137 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.003479/0.5917, allocations: 0.9903 MB / 0.6873 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.5931, allocations: 0.6381 MB / 0.688 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5931, allocations: 0 / 0.688 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005903/0.5937, allocations: 341 kB / 0.6883 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.5951, allocations: 232.3 kB / 0.6885 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.5982, allocations: 1.623 MB / 0.6901 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.5987, allocations: 388.4 kB / 0.6905 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006782/0.5993, allocations: 370.6 kB / 0.6908 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.5995, allocations: 47.42 kB / 0.6909 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.5995, allocations: 0 / 0.6909 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of Templates: time 0.05959/0.6591, allocations: 38.4 MB / 0.7284 GB, free: 5.453 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.743239551782608] Failed to read output from testmodel.py, exit status != 0: 0.6683792769908905 0.6827223729999999 0.18602168000000002 Calling exit ...