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.001377/0.001377, allocations: 78.02 kB / 21.28 MB, free: 0.5273 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.001442/0.001442, allocations: 161.4 kB / 24.55 MB, free: 3.828 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.486/1.486, allocations: 177.2 MB / 204.9 MB, free: 9.285 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.1426/0.1426, allocations: 19.72 MB / 281 MB, free: 13.07 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.002133/0.002133, allocations: 75.84 kB / 417.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2608, allocations: 60.44 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.1158/0.3766, allocations: 98.15 MB / 0.5627 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.392, allocations: 10.38 MB / 0.5729 GB, free: 5.422 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008169/0.3929, allocations: 31.69 kB / 0.5729 GB, free: 5.391 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.3945, allocations: 0.5278 MB / 0.5734 GB, free: 4.859 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.396, allocations: 0.6407 MB / 0.574 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01532/0.4113, allocations: 5.666 MB / 0.5796 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.4137, allocations: 1.669 MB / 0.5812 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.4147, allocations: 0.4972 MB / 0.5817 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.4164, allocations: 0.9385 MB / 0.5826 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009817/0.4173, allocations: 0.6106 MB / 0.5832 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.4175, allocations: 64 kB / 0.5833 GB, free: 10.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.4294, allocations: 6.142 MB / 0.5893 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.4296, allocations: 167.3 kB / 0.5894 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006246/0.4303, allocations: 362.5 kB / 0.5898 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009177/0.4395, allocations: 4.322 MB / 0.594 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4395, allocations: 0 / 0.594 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4395, allocations: 4 kB / 0.594 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.155e-05/0.4395, allocations: 0 / 0.594 GB, free: 15.73 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.004276/0.4438, allocations: 1.515 MB / 0.5955 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.4438, allocations: 8.031 kB / 0.5955 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/0.4445, allocations: 156.3 kB / 0.5956 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008773/0.4454, allocations: 430.7 kB / 0.596 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.4454, allocations: 45.69 kB / 0.5961 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.4456, allocations: 64.38 kB / 0.5961 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.4473, allocations: 0.8139 MB / 0.5969 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.4474, allocations: 4 kB / 0.5969 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.4474, allocations: 24 kB / 0.597 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.4475, allocations: 16 kB / 0.597 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.449, allocations: 0.5943 MB / 0.5976 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.4527, allocations: 2.659 MB / 0.6002 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.4541, allocations: 453.1 kB / 0.6006 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.4545, allocations: 173.6 kB / 0.6007 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06267/0.5172, allocations: 17.53 MB / 0.6179 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.5172, allocations: 38.56 kB / 0.6179 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.555e-06/0.5172, allocations: 0 / 0.6179 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.002427/0.5197, allocations: 0.6951 MB / 0.6186 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.5197, allocations: 81.11 kB / 0.6187 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.5202, allocations: 377.9 kB / 0.619 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.5202, allocations: 33.7 kB / 0.6191 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.5205, allocations: 352.6 kB / 0.6194 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.5206, allocations: 118.9 kB / 0.6195 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.5208, allocations: 73.97 kB / 0.6196 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.5209, allocations: 362.8 kB / 0.6199 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.5213, allocations: 130.1 kB / 0.62 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.5217, allocations: 205.8 kB / 0.6202 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007799/0.5225, allocations: 339.6 kB / 0.6206 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5225, allocations: 0 / 0.6206 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001021/0.5236, allocations: 428.9 kB / 0.621 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5236, allocations: 4 kB / 0.621 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5236, allocations: 7.984 kB / 0.621 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.5236, allocations: 4 kB / 0.621 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.5241, allocations: 95.75 kB / 0.6211 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.5241, allocations: 7.938 kB / 0.6211 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.5244, allocations: 32.08 kB / 0.6211 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.5244, allocations: 23.98 kB / 0.6211 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003858/0.5248, allocations: 216.8 kB / 0.6214 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002995/0.5251, allocations: 192 kB / 0.6215 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005522/0.5256, allocations: 301.6 kB / 0.6218 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/0.5256, allocations: 0 / 0.6218 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007194/0.5264, allocations: 376.6 kB / 0.6222 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.5264, allocations: 4 kB / 0.6222 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5264, allocations: 4 kB / 0.6222 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/0.5264, allocations: 7.938 kB / 0.6222 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.5267, allocations: 92.22 kB / 0.6223 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5267, allocations: 7.938 kB / 0.6223 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.5269, allocations: 31.83 kB / 0.6223 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.527, allocations: 16 kB / 0.6223 GB, free: 2.227 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.0001795/0.5271, allocations: 207.2 kB / 0.6225 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.5273, allocations: 43.72 kB / 0.6226 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.5295, allocations: 1.651 MB / 0.6242 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.5295, allocations: 3.938 kB / 0.6242 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5295, allocations: 0 / 0.6242 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.5297, allocations: 111.1 kB / 0.6243 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.5298, allocations: 8 kB / 0.6243 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.5301, allocations: 23.97 kB / 0.6243 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.5302, allocations: 43.88 kB / 0.6244 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00165/0.5318, allocations: 0.9771 MB / 0.6253 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001475/0.5333, allocations: 1.076 MB / 0.6264 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005683/0.5339, allocations: 317.2 kB / 0.6267 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002938/0.5342, allocations: 255.2 kB / 0.6269 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of Backend: time 4.41e-07/0.5342, allocations: 0 / 0.6269 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005897/0.5401, allocations: 1.592 MB / 0.6285 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002503/0.5426, allocations: 1.732 MB / 0.6302 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.2377/0.7802, allocations: 41.08 MB / 0.6703 GB, free: 141.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.46663148899097] Failed to read output from testmodel.py, exit status != 0: 0.7886314379284158 0.7970482759999999 0.355197851 Calling exit ...