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.001766/0.001766, allocations: 80.2 kB / 21.28 MB, free: 392 kB / 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.001714/0.001714, allocations: 164.5 kB / 24.53 MB, free: 3.598 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.423/1.423, allocations: 177.2 MB / 204.9 MB, free: 9.297 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.1462/0.1462, allocations: 19.71 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.002095/0.002095, allocations: 71.89 kB / 417.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2633, allocations: 60.45 MB / 478.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.1113/0.3746, allocations: 98.15 MB / 0.5627 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01526/0.3899, allocations: 10.38 MB / 0.5728 GB, free: 5.434 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008101/0.3907, allocations: 31.69 kB / 0.5729 GB, free: 5.402 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.3922, allocations: 0.5278 MB / 0.5734 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.3935, allocations: 0.6291 MB / 0.574 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01564/0.4091, allocations: 5.679 MB / 0.5796 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.4116, allocations: 1.661 MB / 0.5812 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008691/0.4125, allocations: 0.5049 MB / 0.5817 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.4138, allocations: 0.9347 MB / 0.5826 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009185/0.4147, allocations: 0.6067 MB / 0.5832 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.016e-05/0.4148, allocations: 64 kB / 0.5832 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01143/0.4263, allocations: 6.146 MB / 0.5892 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003112/0.4266, allocations: 167.3 kB / 0.5894 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005264/0.4271, allocations: 358.5 kB / 0.5897 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008073/0.4352, allocations: 4.325 MB / 0.594 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4352, allocations: 0 / 0.594 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4352, allocations: 0 / 0.594 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.4352, allocations: 7.938 kB / 0.594 GB, free: 15.75 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.003804/0.439, allocations: 1.519 MB / 0.5955 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.439, allocations: 8.031 kB / 0.5955 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006154/0.4397, allocations: 148.4 kB / 0.5956 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.4405, allocations: 430.7 kB / 0.596 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/0.4405, allocations: 49.69 kB / 0.5961 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-05/0.4406, allocations: 60.38 kB / 0.5961 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.4423, allocations: 0.81 MB / 0.5969 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.4423, allocations: 7.938 kB / 0.5969 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.138e-05/0.4424, allocations: 28 kB / 0.5969 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.4424, allocations: 16 kB / 0.597 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.4439, allocations: 0.5866 MB / 0.5975 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.4474, allocations: 2.66 MB / 0.6001 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.4488, allocations: 464.2 kB / 0.6006 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.4492, allocations: 169.6 kB / 0.6007 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06039/0.5096, allocations: 17.54 MB / 0.6179 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.5097, allocations: 38.56 kB / 0.6179 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.275e-06/0.5097, allocations: 0 / 0.6179 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.00228/0.5119, allocations: 0.6882 MB / 0.6186 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.512, allocations: 81.11 kB / 0.6186 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.5124, allocations: 381.9 kB / 0.619 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.5125, allocations: 33.7 kB / 0.619 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.5127, allocations: 356.5 kB / 0.6194 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.5128, allocations: 114.9 kB / 0.6195 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.513, allocations: 77.97 kB / 0.6196 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.5131, allocations: 358.8 kB / 0.6199 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.5135, allocations: 142 kB / 0.62 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.5139, allocations: 197.8 kB / 0.6202 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.5146, allocations: 335.8 kB / 0.6206 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5146, allocations: 0 / 0.6206 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000943/0.5156, allocations: 431.6 kB / 0.621 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5156, allocations: 11.94 kB / 0.621 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5156, allocations: 0 / 0.621 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.5156, allocations: 7.938 kB / 0.621 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.5161, allocations: 87.88 kB / 0.6211 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.5161, allocations: 4 kB / 0.6211 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.5164, allocations: 32.08 kB / 0.6211 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.5164, allocations: 23.98 kB / 0.6211 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003681/0.5168, allocations: 224.7 kB / 0.6213 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002852/0.5171, allocations: 187.9 kB / 0.6215 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005214/0.5176, allocations: 299 kB / 0.6218 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.5176, allocations: 0 / 0.6218 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006909/0.5183, allocations: 375.4 kB / 0.6222 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.5183, allocations: 7.938 kB / 0.6222 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5183, allocations: 4 kB / 0.6222 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-06/0.5183, allocations: 4 kB / 0.6222 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.5186, allocations: 92.22 kB / 0.6223 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5187, allocations: 7.938 kB / 0.6223 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.5189, allocations: 35.83 kB / 0.6223 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.5189, allocations: 12 kB / 0.6223 GB, free: 2.242 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.0001736/0.5191, allocations: 208.1 kB / 0.6225 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.5192, allocations: 47.72 kB / 0.6226 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.5213, allocations: 1.641 MB / 0.6242 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.5213, allocations: 27.91 kB / 0.6242 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5213, allocations: 0 / 0.6242 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5213, allocations: 7.969 kB / 0.6242 GB, free: 304 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.5223, allocations: 0.8121 MB / 0.625 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5224, allocations: 0 / 0.625 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.5227, allocations: 63.89 kB / 0.6251 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.5227, allocations: 0 / 0.6251 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.5227, allocations: 15.98 kB / 0.6251 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.5227, allocations: 7.938 kB / 0.6251 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.5227, allocations: 7.938 kB / 0.6251 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.5241, allocations: 1.004 MB / 0.6261 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.5243, allocations: 111.2 kB / 0.6262 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.5243, allocations: 12 kB / 0.6262 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.5246, allocations: 15.98 kB / 0.6262 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.5248, allocations: 51.8 kB / 0.6262 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.5248, allocations: 8 kB / 0.6263 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002715/0.5251, allocations: 263.1 kB / 0.6265 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5251, allocations: 0 / 0.6265 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00266/0.5277, allocations: 1.107 MB / 0.6276 GB, free: 12.78 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.003146/0.5309, allocations: 0.9776 MB / 0.6285 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.5322, allocations: 0.6409 MB / 0.6292 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5322, allocations: 1.188 kB / 0.6292 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000587/0.5328, allocations: 347.8 kB / 0.6295 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.5341, allocations: 233.2 kB / 0.6297 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.5371, allocations: 1.676 MB / 0.6314 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.5375, allocations: 392.4 kB / 0.6317 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.5377, allocations: 56.48 kB / 0.6318 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.5377, allocations: 0 / 0.6318 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of Templates: time 0.212/0.7497, allocations: 22.98 MB / 0.6542 GB, free: 157.7 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: 9.205140064936131] Failed to read output from testmodel.py, exit status != 0: 0.757737240055576 0.766029207 0.328561962 Calling exit ...