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.001633/0.001633, allocations: 114.5 kB / 17.78 MB, free: 5.289 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.001894/0.001894, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.488/1.488, allocations: 207.6 MB / 231.1 MB, free: 4.109 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.4561/0.4561, allocations: 49.52 MB / 332.5 MB, free: 1.094 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.002203/0.002203, allocations: 68.42 kB / 471.3 MB, free: 40.78 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1281, allocations: 62.34 MB / 0.5211 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05919/0.1873, allocations: 51.29 MB / 0.5712 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02485/0.2121, allocations: 17.19 MB / 0.588 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006803/0.2128, allocations: 7.938 kB / 0.588 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.2139, allocations: 266.5 kB / 0.5882 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007987/0.2219, allocations: 2.389 MB / 0.5906 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.2324, allocations: 3.246 MB / 0.5937 GB, free: 7.219 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.234, allocations: 0.8484 MB / 0.5946 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007164/0.2347, allocations: 252.6 kB / 0.5948 GB, free: 6.113 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000834/0.2356, allocations: 342.8 kB / 0.5951 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000781/0.2364, allocations: 394.5 kB / 0.5955 GB, free: 5.391 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.782e-05/0.2365, allocations: 32 kB / 0.5955 GB, free: 5.359 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01786/0.2543, allocations: 7.547 MB / 0.6029 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.2546, allocations: 103.5 kB / 0.603 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005532/0.2551, allocations: 250.8 kB / 0.6033 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01467/0.2698, allocations: 4.622 MB / 0.6078 GB, free: 8.824 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2698, allocations: 3.938 kB / 0.6078 GB, free: 8.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2698, allocations: 0 / 0.6078 GB, free: 8.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.2698, allocations: 0 / 0.6078 GB, free: 8.82 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.003877/0.2737, allocations: 1.406 MB / 0.6091 GB, free: 7.348 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2737, allocations: 11.89 kB / 0.6092 GB, free: 7.336 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.2748, allocations: 152.5 kB / 0.6093 GB, free: 7.188 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007181/0.2755, allocations: 370.4 kB / 0.6097 GB, free: 6.789 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.2756, allocations: 25.03 kB / 0.6097 GB, free: 6.766 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/0.2757, allocations: 36.33 kB / 0.6097 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.2767, allocations: 483 kB / 0.6102 GB, free: 6.219 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.2767, allocations: 0 / 0.6102 GB, free: 6.219 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.2767, allocations: 23.92 kB / 0.6102 GB, free: 6.195 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.2767, allocations: 8 kB / 0.6102 GB, free: 6.188 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007429/0.2775, allocations: 306.3 kB / 0.6105 GB, free: 5.887 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.003064/0.2806, allocations: 2.506 MB / 0.6129 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000642/0.2812, allocations: 254.5 kB / 0.6132 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.2814, allocations: 128.8 kB / 0.6133 GB, free: 2.734 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3582/0.6396, allocations: 32.59 MB / 0.6451 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007731/0.6404, allocations: 302.6 kB / 0.6454 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.905e-06/0.6404, allocations: 1.031 kB / 0.6454 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.00384/0.6443, allocations: 1.705 MB / 0.6471 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.6443, allocations: 138.7 kB / 0.6472 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.6447, allocations: 404.4 kB / 0.6476 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.6447, allocations: 32.11 kB / 0.6476 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.6448, allocations: 245.2 kB / 0.6479 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.6449, allocations: 118.1 kB / 0.648 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.645, allocations: 74.16 kB / 0.6481 GB, free: 119 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.645, allocations: 358 kB / 0.6484 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.6452, allocations: 137.8 kB / 0.6485 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.6455, allocations: 218.1 kB / 0.6487 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.6459, allocations: 468.6 kB / 0.6492 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6459, allocations: 0 / 0.6492 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000923/0.6468, allocations: 0.619 MB / 0.6498 GB, free: 118 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.755e-05/0.6468, allocations: 73.81 kB / 0.6499 GB, free: 118 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6468, allocations: 0 / 0.6499 GB, free: 118 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.6481, allocations: 168.6 kB / 0.65 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.6483, allocations: 55.64 kB / 0.6501 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006867/0.649, allocations: 1.135 MB / 0.6512 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.6492, allocations: 11.28 kB / 0.6512 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.6492, allocations: 19.23 kB / 0.6512 GB, free: 116.8 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.0002466/0.6495, allocations: 248.7 kB / 0.6514 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.6496, allocations: 56.48 kB / 0.6515 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.6514, allocations: 1.568 MB / 0.653 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.6515, allocations: 21.3 kB / 0.653 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6515, allocations: 0 / 0.653 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.6515, allocations: 2.734 kB / 0.6531 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007328/0.6522, allocations: 0.7391 MB / 0.6538 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.6522, allocations: 0.9375 kB / 0.6538 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.6524, allocations: 42.52 kB / 0.6538 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000584/0.653, allocations: 246.7 kB / 0.654 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.6531, allocations: 12.78 kB / 0.6541 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007382/0.6538, allocations: 1.339 MB / 0.6554 GB, free: 114.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6538, allocations: 1.75 kB / 0.6554 GB, free: 114.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.656, allocations: 1.691 MB / 0.657 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.6562, allocations: 186.2 kB / 0.6572 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.6563, allocations: 15.53 kB / 0.6572 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.6565, allocations: 15.58 kB / 0.6572 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.6565, allocations: 22.28 kB / 0.6572 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.6566, allocations: 16.06 kB / 0.6573 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003948/0.657, allocations: 281.4 kB / 0.6575 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.657, allocations: 3.625 kB / 0.6575 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003583/0.6606, allocations: 1.117 MB / 0.6586 GB, free: 113 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.004742/0.6653, allocations: 1.335 MB / 0.6599 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.6664, allocations: 0.677 MB / 0.6606 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6664, allocations: 0 / 0.6606 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.667, allocations: 0.4913 MB / 0.6611 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.668, allocations: 186.4 kB / 0.6612 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.6699, allocations: 1.488 MB / 0.6627 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.6703, allocations: 0.907 MB / 0.6636 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000213/0.6705, allocations: 95.34 kB / 0.6637 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.6706, allocations: 38.36 kB / 0.6637 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of SimCode: time 4.1e-07/0.6706, allocations: 0 / 0.6637 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.04154/0.7121, allocations: 40.78 MB / 0.7035 GB, free: 72.32 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: 8.309301988221705]