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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.592/1.592, allocations: 207.6 MB / 231.8 MB, free: 4.148 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4556/0.4556, allocations: 49.51 MB / 333.2 MB, free: 0.8125 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 71.73 kB / 471.9 MB, free: 40.86 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1242, allocations: 62.34 MB / 0.5218 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05847/0.1827, allocations: 51.29 MB / 0.5718 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02231/0.205, allocations: 17.19 MB / 0.5886 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004916/0.2055, allocations: 7.938 kB / 0.5886 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009101/0.2064, allocations: 274.4 kB / 0.5889 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007014/0.2134, allocations: 2.374 MB / 0.5912 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01008/0.2235, allocations: 3.257 MB / 0.5944 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.2249, allocations: 0.8484 MB / 0.5952 GB, free: 6.371 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.2255, allocations: 240.7 kB / 0.5955 GB, free: 6.129 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.226, allocations: 350.8 kB / 0.5958 GB, free: 5.785 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.2265, allocations: 394.5 kB / 0.5962 GB, free: 5.398 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.2266, allocations: 32 kB / 0.5962 GB, free: 5.367 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01506/0.2416, allocations: 7.543 MB / 0.6036 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.2418, allocations: 103.5 kB / 0.6037 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004277/0.2423, allocations: 254.7 kB / 0.6039 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.2545, allocations: 4.61 MB / 0.6084 GB, free: 8.844 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2545, allocations: 7.938 kB / 0.6084 GB, free: 8.836 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2545, allocations: 0 / 0.6084 GB, free: 8.836 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.2546, allocations: 0 / 0.6084 GB, free: 8.836 MB / 478.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.004124/0.2587, allocations: 1.402 MB / 0.6098 GB, free: 7.367 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.2587, allocations: 15.89 kB / 0.6098 GB, free: 7.352 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009935/0.2597, allocations: 156.4 kB / 0.61 GB, free: 7.199 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.2604, allocations: 362.4 kB / 0.6103 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.2604, allocations: 25.03 kB / 0.6103 GB, free: 6.785 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/0.2605, allocations: 36.33 kB / 0.6104 GB, free: 6.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.2614, allocations: 494.8 kB / 0.6108 GB, free: 6.227 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.2615, allocations: 0 / 0.6108 GB, free: 6.227 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.2615, allocations: 16 kB / 0.6108 GB, free: 6.211 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.2615, allocations: 8 kB / 0.6109 GB, free: 6.203 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.2622, allocations: 310.3 kB / 0.6111 GB, free: 5.898 MB / 478.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.002969/0.2652, allocations: 2.506 MB / 0.6136 GB, free: 3.133 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/0.2658, allocations: 254.5 kB / 0.6138 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.266, allocations: 128.7 kB / 0.614 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.38/0.646, allocations: 32.59 MB / 0.6458 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007738/0.6468, allocations: 306.1 kB / 0.6461 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.845e-06/0.6468, allocations: 0 / 0.6461 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.003516/0.6503, allocations: 1.707 MB / 0.6477 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.6504, allocations: 138.1 kB / 0.6479 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.6508, allocations: 405.1 kB / 0.6483 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.6508, allocations: 32.33 kB / 0.6483 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.651, allocations: 239.4 kB / 0.6485 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.651, allocations: 116.2 kB / 0.6486 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.6511, allocations: 86.14 kB / 0.6487 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.6512, allocations: 357.4 kB / 0.6491 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.6514, allocations: 133.1 kB / 0.6492 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.6516, allocations: 208.9 kB / 0.6494 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.652, allocations: 471.2 kB / 0.6498 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.652, allocations: 6.844 kB / 0.6498 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008788/0.6529, allocations: 0.6156 MB / 0.6504 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.653, allocations: 74.16 kB / 0.6505 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.653, allocations: 5.844 kB / 0.6505 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.6542, allocations: 156.9 kB / 0.6507 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.6544, allocations: 58.48 kB / 0.6507 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006887/0.6551, allocations: 1.135 MB / 0.6518 GB, free: 117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.6553, allocations: 13.17 kB / 0.6518 GB, free: 117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.6554, allocations: 19.58 kB / 0.6519 GB, free: 117 MB / 0.4981 GB 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.0002375/0.6556, allocations: 248.8 kB / 0.6521 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.6557, allocations: 53.11 kB / 0.6521 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.6576, allocations: 1.572 MB / 0.6537 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.6576, allocations: 18.23 kB / 0.6537 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6576, allocations: 1.094 kB / 0.6537 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.6576, allocations: 1.406 kB / 0.6537 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008496/0.6585, allocations: 0.7448 MB / 0.6544 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6585, allocations: 4.406 kB / 0.6544 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.6587, allocations: 44.59 kB / 0.6545 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000612/0.6593, allocations: 244.9 kB / 0.6547 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.6594, allocations: 13.5 kB / 0.6547 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007646/0.6601, allocations: 1.341 MB / 0.656 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6601, allocations: 2.719 kB / 0.656 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.6623, allocations: 1.684 MB / 0.6577 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.6626, allocations: 185.5 kB / 0.6579 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.334e-05/0.6627, allocations: 13.25 kB / 0.6579 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.6629, allocations: 11.44 kB / 0.6579 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.6629, allocations: 22.39 kB / 0.6579 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.663, allocations: 19.09 kB / 0.6579 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004257/0.6634, allocations: 278.8 kB / 0.6582 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6634, allocations: 0.5938 kB / 0.6582 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003744/0.6671, allocations: 1.118 MB / 0.6593 GB, free: 113.2 MB / 0.4981 GB 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.004671/0.6718, allocations: 1.336 MB / 0.6606 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.6731, allocations: 0.6772 MB / 0.6612 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6731, allocations: 0 / 0.6612 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.6736, allocations: 0.4987 MB / 0.6617 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.6747, allocations: 187.9 kB / 0.6619 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.6766, allocations: 1.513 MB / 0.6634 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.6769, allocations: 0.9151 MB / 0.6643 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.677, allocations: 38.02 kB / 0.6643 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.677, allocations: 0 / 0.6643 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.03226/0.7093, allocations: 29.1 MB / 0.6927 GB, free: 84.25 MB / 0.4981 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.207234773988603] Failed to read output from testmodel.py, exit status != 0: 0.7169647570117377 0.726133237 0.46920229199999997 Calling exit ...