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.001381/0.001381, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001613/0.001613, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.408/1.408, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.1489/0.1489, allocations: 26.84 MB / 341.5 MB, free: 7.969 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.002142/0.002142, allocations: 63.91 kB / 478 MB, free: 2.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3002, allocations: 60.49 MB / 0.5259 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.1104/0.4106, allocations: 98.67 MB / 0.6223 GB, free: 1.777 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.4266, allocations: 10.39 MB / 0.6324 GB, free: 7.355 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009021/0.4275, allocations: 31.69 kB / 0.6324 GB, free: 7.324 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.4292, allocations: 0.5317 MB / 0.633 GB, free: 6.789 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.4309, allocations: 0.633 MB / 0.6336 GB, free: 6.152 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01655/0.4474, allocations: 5.657 MB / 0.6391 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002465/0.4499, allocations: 1.673 MB / 0.6407 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.451, allocations: 0.501 MB / 0.6412 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.4523, allocations: 0.6733 MB / 0.6419 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.4534, allocations: 0.6145 MB / 0.6425 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.4535, allocations: 68 kB / 0.6425 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01258/0.4661, allocations: 6.134 MB / 0.6485 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.4664, allocations: 167.3 kB / 0.6487 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005915/0.467, allocations: 358.5 kB / 0.649 GB, free: 6.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009452/0.4765, allocations: 4.321 MB / 0.6533 GB, free: 1.953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4765, allocations: 0 / 0.6533 GB, free: 1.953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4765, allocations: 0 / 0.6533 GB, free: 1.953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.382e-05/0.4765, allocations: 0 / 0.6533 GB, free: 1.953 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.00428/0.4808, allocations: 1.519 MB / 0.6547 GB, free: 404 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4808, allocations: 11.97 kB / 0.6548 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006707/0.4815, allocations: 152.3 kB / 0.6549 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000888/0.4824, allocations: 438.6 kB / 0.6553 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.4824, allocations: 45.69 kB / 0.6554 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/0.4825, allocations: 68.31 kB / 0.6554 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.4843, allocations: 0.8101 MB / 0.6562 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.4844, allocations: 3.938 kB / 0.6562 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.4844, allocations: 28 kB / 0.6562 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.4844, allocations: 16 kB / 0.6563 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.486, allocations: 0.5905 MB / 0.6568 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.4897, allocations: 2.655 MB / 0.6594 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.4911, allocations: 460.7 kB / 0.6599 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.4915, allocations: 161.6 kB / 0.66 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06272/0.5542, allocations: 17.55 MB / 0.6772 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.5542, allocations: 34.56 kB / 0.6772 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.485e-06/0.5542, allocations: 0 / 0.6772 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.002361/0.5566, allocations: 0.6911 MB / 0.6779 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.5567, allocations: 81.11 kB / 0.6779 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.5571, allocations: 385.8 kB / 0.6783 GB, free: 8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.5572, allocations: 29.7 kB / 0.6783 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.5574, allocations: 352.7 kB / 0.6787 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.5576, allocations: 118.9 kB / 0.6788 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.5577, allocations: 73.97 kB / 0.6789 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5579, allocations: 350.8 kB / 0.6792 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.5582, allocations: 138.1 kB / 0.6793 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.5587, allocations: 201.8 kB / 0.6795 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/0.5594, allocations: 335 kB / 0.6798 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5594, allocations: 0 / 0.6798 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001004/0.5604, allocations: 416.4 kB / 0.6802 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5604, allocations: 8 kB / 0.6802 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5604, allocations: 0 / 0.6802 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.5605, allocations: 7.938 kB / 0.6802 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.5609, allocations: 91.81 kB / 0.6803 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.5609, allocations: 4 kB / 0.6803 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.5612, allocations: 39.77 kB / 0.6804 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.5613, allocations: 15.98 kB / 0.6804 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003993/0.5617, allocations: 228.9 kB / 0.6806 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003005/0.562, allocations: 188 kB / 0.6808 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005441/0.5625, allocations: 306.5 kB / 0.6811 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-06/0.5625, allocations: 4 kB / 0.6811 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007466/0.5633, allocations: 376 kB / 0.6814 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5633, allocations: 4 kB / 0.6815 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.5633, allocations: 4 kB / 0.6815 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.5633, allocations: 4 kB / 0.6815 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.5636, allocations: 84.23 kB / 0.6815 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.5636, allocations: 15.92 kB / 0.6816 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.5639, allocations: 27.84 kB / 0.6816 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.5639, allocations: 19.98 kB / 0.6816 GB, free: 4.453 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.0001807/0.5641, allocations: 204.1 kB / 0.6818 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.5642, allocations: 51.72 kB / 0.6818 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.5664, allocations: 1.627 MB / 0.6834 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/0.5664, allocations: 35.84 kB / 0.6835 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5664, allocations: 3.938 kB / 0.6835 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5664, allocations: 3.984 kB / 0.6835 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.5675, allocations: 0.8114 MB / 0.6843 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5675, allocations: 0 / 0.6843 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.5678, allocations: 63.95 kB / 0.6843 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.5679, allocations: 0 / 0.6843 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.5679, allocations: 11.94 kB / 0.6843 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5679, allocations: 0 / 0.6843 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5679, allocations: 7.938 kB / 0.6843 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.5693, allocations: 1.001 MB / 0.6853 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.5695, allocations: 111.2 kB / 0.6854 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.5696, allocations: 8 kB / 0.6854 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.5699, allocations: 19.97 kB / 0.6855 GB, free: 444 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.57, allocations: 43.88 kB / 0.6855 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.5701, allocations: 15.98 kB / 0.6855 GB, free: 384 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002793/0.5703, allocations: 251.2 kB / 0.6858 GB, free: 132 kB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5703, allocations: 4 kB / 0.6858 GB, free: 128 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002774/0.5731, allocations: 1.107 MB / 0.6868 GB, free: 15.02 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.00391/0.577, allocations: 0.992 MB / 0.6878 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.5785, allocations: 0.6411 MB / 0.6884 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5785, allocations: 0 / 0.6884 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.5791, allocations: 338.2 kB / 0.6888 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.5806, allocations: 230 kB / 0.689 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.5838, allocations: 1.684 MB / 0.6906 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.5842, allocations: 396.4 kB / 0.691 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.5844, allocations: 47.42 kB / 0.691 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.5844, allocations: 0 / 0.691 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.03671/0.6211, allocations: 22.96 MB / 0.7135 GB, free: 3.668 MB / 0.545 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: 9.26052302797325] Failed to read output from testmodel.py, exit status != 0: 0.6310097420355305 0.6463216780000001 0.16653368000000002 Calling exit ...