Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001403/0.001403, allocations: 112.5 kB / 21.19 MB, free: 0.7812 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.001767/0.001767, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 207.6 MB / 235.3 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3214/0.3214, allocations: 49.56 MB / 337.1 MB, free: 4.207 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002696/0.002696, allocations: 71.89 kB / 477.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1421, allocations: 62.42 MB / 0.5273 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.3461/0.4882, allocations: 51.75 MB / 0.5779 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02225/0.5104, allocations: 17.31 MB / 0.5948 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005716/0.511, allocations: 13.47 kB / 0.5948 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009711/0.512, allocations: 268.9 kB / 0.5951 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007092/0.5191, allocations: 2.383 MB / 0.5974 GB, free: 8.582 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01128/0.5303, allocations: 3.261 MB / 0.6006 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.5321, allocations: 0.8645 MB / 0.6014 GB, free: 5.785 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006776/0.5328, allocations: 242.8 kB / 0.6017 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009642/0.5337, allocations: 353.9 kB / 0.602 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008868/0.5346, allocations: 394.7 kB / 0.6024 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.852e-05/0.5347, allocations: 32.59 kB / 0.6024 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/0.5519, allocations: 7.56 MB / 0.6098 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.5521, allocations: 99.66 kB / 0.6099 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.5527, allocations: 256.9 kB / 0.6101 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.5678, allocations: 4.618 MB / 0.6146 GB, free: 12.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5678, allocations: 0 / 0.6146 GB, free: 12.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5678, allocations: 0 / 0.6146 GB, free: 12.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.5678, allocations: 0 / 0.6146 GB, free: 12.33 MB / 462.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.004228/0.5721, allocations: 1.334 MB / 0.6159 GB, free: 10.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5721, allocations: 12.03 kB / 0.6159 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.5732, allocations: 160.4 kB / 0.6161 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.5739, allocations: 296.5 kB / 0.6164 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.574, allocations: 29.03 kB / 0.6164 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.175e-05/0.574, allocations: 36.56 kB / 0.6164 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.5751, allocations: 483 kB / 0.6169 GB, free: 9.891 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.5751, allocations: 4.75 kB / 0.6169 GB, free: 9.887 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.5751, allocations: 15.94 kB / 0.6169 GB, free: 9.871 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.5751, allocations: 8 kB / 0.6169 GB, free: 9.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007132/0.5759, allocations: 306.3 kB / 0.6172 GB, free: 9.566 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.003137/0.579, allocations: 2.457 MB / 0.6196 GB, free: 6.859 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.5796, allocations: 262.6 kB / 0.6199 GB, free: 6.594 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.5799, allocations: 128.8 kB / 0.62 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06019/0.64, allocations: 16.85 MB / 0.6364 GB, free: 5.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008233/0.6409, allocations: 306.5 kB / 0.6367 GB, free: 5.273 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 3.437e-06/0.6409, allocations: 3.938 kB / 0.6367 GB, free: 5.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.00444/0.6453, allocations: 1.575 MB / 0.6383 GB, free: 3.613 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.6454, allocations: 148.5 kB / 0.6384 GB, free: 3.438 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/0.646, allocations: 401.9 kB / 0.6388 GB, free: 3.031 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.6461, allocations: 29.7 kB / 0.6388 GB, free: 2.996 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.6463, allocations: 252.4 kB / 0.6391 GB, free: 2.746 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.6464, allocations: 107 kB / 0.6392 GB, free: 2.641 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.6466, allocations: 82.02 kB / 0.6393 GB, free: 2.555 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.6468, allocations: 350.8 kB / 0.6396 GB, free: 2.203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.647, allocations: 136.7 kB / 0.6397 GB, free: 2.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.6473, allocations: 219.7 kB / 0.6399 GB, free: 1.828 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.6479, allocations: 466.2 kB / 0.6404 GB, free: 1.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6479, allocations: 0 / 0.6404 GB, free: 1.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001147/0.6491, allocations: 0.6187 MB / 0.641 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.648e-05/0.6492, allocations: 71.39 kB / 0.641 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.6492, allocations: 11.88 kB / 0.6411 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.6504, allocations: 163.2 kB / 0.6412 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.6507, allocations: 67.91 kB / 0.6413 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.6519, allocations: 1.132 MB / 0.6424 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.6522, allocations: 8 kB / 0.6424 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.665e-05/0.6522, allocations: 20.94 kB / 0.6424 GB, free: 15.14 MB / 494.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.0003046/0.6525, allocations: 245.1 kB / 0.6426 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.6526, allocations: 47.72 kB / 0.6427 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.6549, allocations: 1.626 MB / 0.6443 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.655, allocations: 15.97 kB / 0.6443 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.655, allocations: 3.938 kB / 0.6443 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.655, allocations: 4 kB / 0.6443 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/0.6558, allocations: 0.7157 MB / 0.645 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.6558, allocations: 0 / 0.645 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.6561, allocations: 39.97 kB / 0.645 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006021/0.6567, allocations: 260.3 kB / 0.6453 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.6567, allocations: 16 kB / 0.6453 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.6578, allocations: 1.359 MB / 0.6466 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6578, allocations: 0 / 0.6466 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.6601, allocations: 1.744 MB / 0.6483 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.6604, allocations: 107.3 kB / 0.6484 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.6605, allocations: 8 kB / 0.6484 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.6607, allocations: 15.98 kB / 0.6485 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.6607, allocations: 23.91 kB / 0.6485 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.6608, allocations: 19.98 kB / 0.6485 GB, free: 8.727 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003314/0.6611, allocations: 275.1 kB / 0.6488 GB, free: 8.457 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6611, allocations: 0 / 0.6488 GB, free: 8.457 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003447/0.6645, allocations: 1.119 MB / 0.6499 GB, free: 7.336 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.006245/0.6708, allocations: 1.337 MB / 0.6512 GB, free: 5.984 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.6723, allocations: 0.6852 MB / 0.6518 GB, free: 5.273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6723, allocations: 0 / 0.6518 GB, free: 5.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008116/0.6731, allocations: 0.5057 MB / 0.6523 GB, free: 4.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.6742, allocations: 194.4 kB / 0.6525 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.677, allocations: 1.528 MB / 0.654 GB, free: 2.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.6776, allocations: 0.9151 MB / 0.6549 GB, free: 2.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.6777, allocations: 31.44 kB / 0.6549 GB, free: 2.02 MB / 494.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6777, allocations: 8 kB / 0.6549 GB, free: 2.012 MB / 494.1 MB Notification: Performance of Templates: time 0.05106/0.7288, allocations: 29.07 MB / 0.6833 GB, free: 4.887 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.235023098997772] Failed to read output from testmodel.py, exit status != 0: 0.7399510121904314 0.755371808 0.184050644 Calling exit ...