Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.001338/0.001338, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001462/0.001462, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1669/0.1669, allocations: 26.84 MB / 340.7 MB, free: 7.961 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.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [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.002532/0.002532, allocations: 67.91 kB / 477.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3379, allocations: 60.48 MB / 0.5251 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05597/0.3939, allocations: 46.88 MB / 0.5709 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02084/0.4147, allocations: 15.39 MB / 0.586 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005422/0.4153, allocations: 15.88 kB / 0.586 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000893/0.4162, allocations: 258.5 kB / 0.5862 GB, free: 6.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008004/0.4242, allocations: 2.382 MB / 0.5885 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01055/0.4347, allocations: 3.202 MB / 0.5917 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.4361, allocations: 0.8599 MB / 0.5925 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005861/0.4367, allocations: 249 kB / 0.5928 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007257/0.4374, allocations: 342.8 kB / 0.5931 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007757/0.4382, allocations: 374.5 kB / 0.5934 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.4383, allocations: 36 kB / 0.5935 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01583/0.4541, allocations: 7.141 MB / 0.6004 GB, free: 7.496 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.4544, allocations: 103.5 kB / 0.6005 GB, free: 7.395 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004206/0.4548, allocations: 207 kB / 0.6007 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.466, allocations: 4.614 MB / 0.6052 GB, free: 2.566 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.466, allocations: 0 / 0.6052 GB, free: 2.566 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.466, allocations: 0 / 0.6052 GB, free: 2.566 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.434e-05/0.4661, allocations: 0 / 0.6052 GB, free: 2.566 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003273/0.4693, allocations: 1.327 MB / 0.6065 GB, free: 1.191 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4694, allocations: 8.031 kB / 0.6065 GB, free: 1.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.4704, allocations: 152.5 kB / 0.6067 GB, free: 1.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006445/0.471, allocations: 300.6 kB / 0.607 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.4711, allocations: 32.97 kB / 0.607 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/0.4712, allocations: 40.38 kB / 0.607 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.4722, allocations: 0.5587 MB / 0.6076 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4722, allocations: 0 / 0.6076 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.4722, allocations: 20 kB / 0.6076 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.4722, allocations: 8.047 kB / 0.6076 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/0.473, allocations: 361.7 kB / 0.608 GB, free: 15.63 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.4753, allocations: 1.675 MB / 0.6096 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.476, allocations: 318.1 kB / 0.6099 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.4763, allocations: 196.1 kB / 0.6101 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06543/0.5417, allocations: 17.62 MB / 0.6273 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007632/0.5425, allocations: 362 kB / 0.6276 GB, free: 11.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.876e-06/0.5425, allocations: 0 / 0.6276 GB, free: 11.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004035/0.5465, allocations: 1.715 MB / 0.6293 GB, free: 9.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.5466, allocations: 140.5 kB / 0.6295 GB, free: 9.312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.5471, allocations: 353.6 kB / 0.6298 GB, free: 8.961 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.5471, allocations: 33.7 kB / 0.6298 GB, free: 8.922 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.5473, allocations: 248.6 kB / 0.6301 GB, free: 8.672 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.5474, allocations: 115.1 kB / 0.6302 GB, free: 8.559 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.5476, allocations: 77.97 kB / 0.6302 GB, free: 8.477 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.5477, allocations: 354.7 kB / 0.6306 GB, free: 8.121 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.548, allocations: 200.1 kB / 0.6308 GB, free: 7.914 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.5484, allocations: 312.8 kB / 0.6311 GB, free: 7.562 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.549, allocations: 470.1 kB / 0.6315 GB, free: 7.051 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.549, allocations: 3.938 kB / 0.6315 GB, free: 7.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001219/0.5502, allocations: 0.7002 MB / 0.6322 GB, free: 6.309 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.583e-05/0.5503, allocations: 70.52 kB / 0.6323 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.5503, allocations: 4 kB / 0.6323 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.5515, allocations: 169.7 kB / 0.6324 GB, free: 6.055 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.5517, allocations: 55.92 kB / 0.6325 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.5527, allocations: 1.128 MB / 0.6336 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.553, allocations: 19.97 kB / 0.6336 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.553, allocations: 16 kB / 0.6336 GB, free: 4.785 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003405/0.5534, allocations: 253.2 kB / 0.6339 GB, free: 4.516 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.5535, allocations: 43.77 kB / 0.6339 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.5557, allocations: 1.669 MB / 0.6355 GB, free: 2.766 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.5557, allocations: 15.97 kB / 0.6356 GB, free: 2.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.5557, allocations: 11.98 kB / 0.6356 GB, free: 2.738 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.5557, allocations: 7.969 kB / 0.6356 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007112/0.5564, allocations: 0.5914 MB / 0.6362 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5565, allocations: 0 / 0.6362 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.5567, allocations: 43.91 kB / 0.6362 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006144/0.5573, allocations: 264.2 kB / 0.6365 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.5573, allocations: 12 kB / 0.6365 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.5584, allocations: 1.351 MB / 0.6378 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5584, allocations: 4.031 kB / 0.6378 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.5607, allocations: 1.87 MB / 0.6396 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.561, allocations: 103.4 kB / 0.6397 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.798e-05/0.5611, allocations: 16 kB / 0.6397 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.5612, allocations: 12.16 kB / 0.6397 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.5613, allocations: 27.89 kB / 0.6398 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.5613, allocations: 16 kB / 0.6398 GB, free: 14.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000271/0.5616, allocations: 247.2 kB / 0.64 GB, free: 14.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5616, allocations: 0 / 0.64 GB, free: 14.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002747/0.5644, allocations: 1.123 MB / 0.6411 GB, free: 12.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004806/0.5692, allocations: 1.332 MB / 0.6424 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.5705, allocations: 0.8171 MB / 0.6432 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5705, allocations: 0 / 0.6432 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007783/0.5713, allocations: 0.5754 MB / 0.6438 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.5722, allocations: 156.7 kB / 0.6439 GB, free: 9.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.5745, allocations: 1.547 MB / 0.6454 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.5748, allocations: 317.5 kB / 0.6457 GB, free: 8.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.575, allocations: 94.81 kB / 0.6458 GB, free: 7.926 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.743e-05/0.5751, allocations: 35.42 kB / 0.6459 GB, free: 7.891 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5751, allocations: 0 / 0.6459 GB, free: 7.891 MB / 494.1 MB Notification: Performance of Templates: time 0.06231/0.6374, allocations: 40.81 MB / 0.6857 GB, free: 15.17 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.79617702960968] Failed to read output from testmodel.py, exit status != 0: 0.6468412708491087 0.661617889 0.192108637 Calling exit ...