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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 113.7 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 191 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 224.5 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.257/0.257, allocations: 48.84 MB / 320.7 MB, free: 11.05 MB / 270.1 MB 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.002538/0.002539, allocations: 70.92 kB / 391.5 MB, free: 48.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09277/0.09533, allocations: 59.15 MB / 450.7 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.04691/0.1423, allocations: 50.95 MB / 0.4899 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.1594, allocations: 17.12 MB / 0.5066 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.1598, allocations: 7.938 kB / 0.5066 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006574/0.1605, allocations: 274.4 kB / 0.5069 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005218/0.1657, allocations: 2.37 MB / 0.5092 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00761/0.1734, allocations: 3.23 MB / 0.5123 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.1745, allocations: 0.8522 MB / 0.5132 GB, free: 14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/0.1749, allocations: 308.5 kB / 0.5135 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.1753, allocations: 338.8 kB / 0.5138 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.1757, allocations: 374.5 kB / 0.5141 GB, free: 13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.1758, allocations: 32 kB / 0.5142 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.1887, allocations: 7.515 MB / 0.5215 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.1889, allocations: 99.61 kB / 0.5216 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.1892, allocations: 250.8 kB / 0.5218 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007856/0.197, allocations: 4.612 MB / 0.5264 GB, free: 488 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1971, allocations: 0 / 0.5264 GB, free: 488 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.1971, allocations: 0 / 0.5264 GB, free: 488 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1971, allocations: 3.938 kB / 0.5264 GB, free: 484 kB / 414.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.1596/0.3567, allocations: 1.358 MB / 0.5277 GB, free: 86.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3568, allocations: 13.36 kB / 0.5277 GB, free: 86.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009776/0.3578, allocations: 156 kB / 0.5278 GB, free: 86.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.3583, allocations: 355.7 kB / 0.5282 GB, free: 86.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3583, allocations: 28.28 kB / 0.5282 GB, free: 86.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.3584, allocations: 38.31 kB / 0.5282 GB, free: 86.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007872/0.3592, allocations: 479.8 kB / 0.5287 GB, free: 86.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3592, allocations: 1 kB / 0.5287 GB, free: 86.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.3592, allocations: 19.19 kB / 0.5287 GB, free: 86.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3592, allocations: 7.781 kB / 0.5287 GB, free: 86.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/0.3599, allocations: 314.8 kB / 0.529 GB, free: 86.02 MB / 414.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.001832/0.3617, allocations: 2.497 MB / 0.5315 GB, free: 84.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.3623, allocations: 276.7 kB / 0.5317 GB, free: 84.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.3625, allocations: 150.3 kB / 0.5319 GB, free: 84.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05673/0.4192, allocations: 32.6 MB / 0.5637 GB, free: 60.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005839/0.4199, allocations: 309.2 kB / 0.564 GB, free: 59.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.315e-06/0.4199, allocations: 0 / 0.564 GB, free: 59.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003243/0.4231, allocations: 1.695 MB / 0.5657 GB, free: 58.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.4232, allocations: 148.4 kB / 0.5658 GB, free: 58.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.4235, allocations: 398 kB / 0.5662 GB, free: 58.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.4235, allocations: 33.64 kB / 0.5662 GB, free: 58.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4237, allocations: 243.6 kB / 0.5664 GB, free: 58.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.4237, allocations: 101.4 kB / 0.5665 GB, free: 58.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.4238, allocations: 80.52 kB / 0.5666 GB, free: 58.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.4239, allocations: 360.3 kB / 0.567 GB, free: 57.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.4241, allocations: 134.7 kB / 0.5671 GB, free: 57.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.4243, allocations: 217 kB / 0.5673 GB, free: 57.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.4247, allocations: 466.2 kB / 0.5677 GB, free: 57.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4247, allocations: 3.469 kB / 0.5677 GB, free: 57.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00084/0.4255, allocations: 0.6257 MB / 0.5684 GB, free: 56.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.4256, allocations: 72.08 kB / 0.5684 GB, free: 56.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4256, allocations: 0.9375 kB / 0.5684 GB, free: 56.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.4268, allocations: 164.3 kB / 0.5686 GB, free: 56.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.427, allocations: 62.48 kB / 0.5686 GB, free: 56.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006122/0.4276, allocations: 1.134 MB / 0.5697 GB, free: 55.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.4279, allocations: 12 kB / 0.5698 GB, free: 55.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.4279, allocations: 19.94 kB / 0.5698 GB, free: 55.38 MB / 414.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.0001801/0.4281, allocations: 249.7 kB / 0.57 GB, free: 55.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.4282, allocations: 47.44 kB / 0.5701 GB, free: 55.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.4296, allocations: 1.585 MB / 0.5716 GB, free: 53.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.4297, allocations: 15.97 kB / 0.5716 GB, free: 53.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4297, allocations: 0 / 0.5716 GB, free: 53.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4297, allocations: 4.781 kB / 0.5716 GB, free: 53.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.4302, allocations: 0.7316 MB / 0.5723 GB, free: 52.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4302, allocations: 2.5 kB / 0.5723 GB, free: 52.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.4304, allocations: 51.97 kB / 0.5724 GB, free: 52.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/0.4309, allocations: 245.9 kB / 0.5726 GB, free: 52.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.431, allocations: 12 kB / 0.5726 GB, free: 52.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005803/0.4316, allocations: 1.342 MB / 0.574 GB, free: 50.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4316, allocations: 0 / 0.574 GB, free: 50.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.4331, allocations: 1.708 MB / 0.5756 GB, free: 49.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.4332, allocations: 185.4 kB / 0.5758 GB, free: 49.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.4333, allocations: 15.94 kB / 0.5758 GB, free: 49.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.4335, allocations: 11.98 kB / 0.5758 GB, free: 49.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.4336, allocations: 23.97 kB / 0.5758 GB, free: 49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.4336, allocations: 12 kB / 0.5759 GB, free: 48.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.4338, allocations: 281.8 kB / 0.5761 GB, free: 48.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4338, allocations: 0 / 0.5761 GB, free: 48.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002317/0.4361, allocations: 1.103 MB / 0.5772 GB, free: 47.62 MB / 414.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.00386/0.44, allocations: 1.318 MB / 0.5785 GB, free: 46.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.4411, allocations: 0.7449 MB / 0.5792 GB, free: 45.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4411, allocations: 0 / 0.5792 GB, free: 45.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.4416, allocations: 0.5924 MB / 0.5798 GB, free: 45.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009167/0.4426, allocations: 199.4 kB / 0.58 GB, free: 44.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.4442, allocations: 1.459 MB / 0.5814 GB, free: 43.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.4445, allocations: 0.9189 MB / 0.5823 GB, free: 42.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.4447, allocations: 95.58 kB / 0.5824 GB, free: 42.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.4448, allocations: 35.42 kB / 0.5824 GB, free: 42.35 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4448, allocations: 0 / 0.5824 GB, free: 42.35 MB / 414.1 MB Notification: Performance of Templates: time 0.04052/0.4853, allocations: 40.62 MB / 0.6221 GB, free: 1.762 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile (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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1)