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.001324/0.001324, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.0014/0.0014, allocations: 209.7 kB / 23.73 MB, free: 4.41 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 7.836 MB / 206.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.1851/0.1851, allocations: 26.84 MB / 340.7 MB, free: 8 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.002119/0.002119, allocations: 71.89 kB / 477.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3072, allocations: 60.47 MB / 0.5251 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.1064/0.4136, allocations: 98.69 MB / 0.6215 GB, free: 1.863 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01491/0.4285, allocations: 10.38 MB / 0.6317 GB, free: 7.449 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008566/0.4294, allocations: 31.69 kB / 0.6317 GB, free: 7.418 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.4308, allocations: 0.5278 MB / 0.6322 GB, free: 6.887 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.4321, allocations: 0.6329 MB / 0.6328 GB, free: 6.25 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01583/0.448, allocations: 5.666 MB / 0.6384 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.4504, allocations: 1.669 MB / 0.64 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008778/0.4513, allocations: 0.5049 MB / 0.6405 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.4523, allocations: 0.6655 MB / 0.6411 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008261/0.4531, allocations: 0.6106 MB / 0.6417 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.4532, allocations: 68 kB / 0.6418 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.4651, allocations: 6.149 MB / 0.6478 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.4653, allocations: 167.3 kB / 0.648 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.4658, allocations: 358.5 kB / 0.6483 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009033/0.4748, allocations: 4.317 MB / 0.6525 GB, free: 2.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4748, allocations: 0 / 0.6525 GB, free: 2.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4748, allocations: 0 / 0.6525 GB, free: 2.047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.4749, allocations: 3.938 kB / 0.6525 GB, free: 2.043 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.00392/0.4788, allocations: 1.527 MB / 0.654 GB, free: 488 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.4788, allocations: 8.031 kB / 0.654 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000634/0.4794, allocations: 148.3 kB / 0.6542 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008049/0.4802, allocations: 442.7 kB / 0.6546 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.4803, allocations: 45.69 kB / 0.6546 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.931e-05/0.4804, allocations: 64.38 kB / 0.6547 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.4821, allocations: 0.8139 MB / 0.6555 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.4821, allocations: 0 / 0.6555 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.4821, allocations: 28 kB / 0.6555 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.4822, allocations: 20 kB / 0.6555 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.4837, allocations: 0.5865 MB / 0.6561 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.4872, allocations: 2.651 MB / 0.6587 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.4886, allocations: 460.8 kB / 0.6591 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.489, allocations: 164.4 kB / 0.6593 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06196/0.551, allocations: 17.55 MB / 0.6764 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.551, allocations: 42.5 kB / 0.6765 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.551, allocations: 0 / 0.6765 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.002217/0.5532, allocations: 0.6843 MB / 0.6771 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.5533, allocations: 81.11 kB / 0.6772 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/0.5537, allocations: 381.9 kB / 0.6776 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.5537, allocations: 29.7 kB / 0.6776 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.554, allocations: 356.7 kB / 0.6779 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.5541, allocations: 111 kB / 0.678 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.5542, allocations: 73.97 kB / 0.6781 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.5544, allocations: 354.8 kB / 0.6785 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.5547, allocations: 134.1 kB / 0.6786 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.5551, allocations: 201.8 kB / 0.6788 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007145/0.5558, allocations: 335.2 kB / 0.6791 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5559, allocations: 3.938 kB / 0.6791 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009263/0.5568, allocations: 420.7 kB / 0.6795 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5568, allocations: 10.97 kB / 0.6795 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5568, allocations: 0 / 0.6795 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.5568, allocations: 7.938 kB / 0.6795 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.5572, allocations: 88.12 kB / 0.6796 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.5573, allocations: 11.94 kB / 0.6796 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.5575, allocations: 31.83 kB / 0.6796 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.5576, allocations: 19.98 kB / 0.6797 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003662/0.5579, allocations: 220.8 kB / 0.6799 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002801/0.5582, allocations: 188 kB / 0.6801 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005309/0.5587, allocations: 302.9 kB / 0.6803 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.928e-06/0.5587, allocations: 8 kB / 0.6803 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006847/0.5594, allocations: 360.9 kB / 0.6807 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.5594, allocations: 4.344 kB / 0.6807 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.5594, allocations: 8 kB / 0.6807 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/0.5595, allocations: 7.938 kB / 0.6807 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.5597, allocations: 83.89 kB / 0.6808 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.5598, allocations: 11.92 kB / 0.6808 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.56, allocations: 35.78 kB / 0.6808 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.56, allocations: 15.98 kB / 0.6809 GB, free: 4.547 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.0001598/0.5601, allocations: 207.5 kB / 0.6811 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.5602, allocations: 47.72 kB / 0.6811 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.5623, allocations: 1.627 MB / 0.6827 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/0.5624, allocations: 31.89 kB / 0.6827 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5624, allocations: 0 / 0.6827 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.5624, allocations: 4 kB / 0.6827 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009621/0.5633, allocations: 0.8192 MB / 0.6835 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.5633, allocations: 0 / 0.6835 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.5637, allocations: 67.89 kB / 0.6836 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5637, allocations: 4 kB / 0.6836 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.5637, allocations: 8 kB / 0.6836 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5637, allocations: 0 / 0.6836 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.5637, allocations: 7.938 kB / 0.6836 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.5651, allocations: 1.001 MB / 0.6846 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.5653, allocations: 111.2 kB / 0.6847 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.5653, allocations: 8 kB / 0.6847 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.5656, allocations: 23.97 kB / 0.6847 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.5657, allocations: 43.88 kB / 0.6848 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.5657, allocations: 15.98 kB / 0.6848 GB, free: 476 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002539/0.566, allocations: 251.2 kB / 0.685 GB, free: 224 kB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.566, allocations: 0 / 0.685 GB, free: 224 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002566/0.5686, allocations: 1.111 MB / 0.6861 GB, free: 15.11 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.003035/0.5716, allocations: 0.9932 MB / 0.6871 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.5729, allocations: 0.6344 MB / 0.6877 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5729, allocations: 4.062 kB / 0.6877 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.5735, allocations: 341 kB / 0.688 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.5748, allocations: 232 kB / 0.6882 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.578, allocations: 1.635 MB / 0.6898 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.5784, allocations: 396.4 kB / 0.6902 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006511/0.5791, allocations: 366.6 kB / 0.6906 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.5792, allocations: 51.42 kB / 0.6906 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.5792, allocations: 0 / 0.6906 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.0557/0.6349, allocations: 38.53 MB / 0.7282 GB, free: 4.055 MB / 0.5606 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.491644071415067] Failed to read output from testmodel.py, exit status != 0: 0.6443861555308104 0.832579673 0.35490106800000004 Calling exit ...