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.001508/0.001508, allocations: 107 kB / 16.92 MB, free: 5.832 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.00155/0.00155, allocations: 191.3 kB / 17.85 MB, free: 5.16 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.308/1.308, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.306/0.306, allocations: 48.84 MB / 319.9 MB, free: 11.09 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.002697/0.002697, allocations: 77.36 kB / 390.1 MB, free: 48.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1231, allocations: 59.16 MB / 449.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.0512/0.1743, allocations: 50.95 MB / 0.4885 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01932/0.1937, allocations: 17.13 MB / 0.5052 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005194/0.1943, allocations: 7.938 kB / 0.5052 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008242/0.1952, allocations: 266.4 kB / 0.5055 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006362/0.2016, allocations: 2.37 MB / 0.5078 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009463/0.2111, allocations: 3.234 MB / 0.5109 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.2127, allocations: 0.8484 MB / 0.5118 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006553/0.2134, allocations: 304.5 kB / 0.512 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007005/0.2141, allocations: 338.8 kB / 0.5124 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000644/0.2147, allocations: 370.5 kB / 0.5127 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.609e-05/0.2148, allocations: 32 kB / 0.5127 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01532/0.2301, allocations: 7.36 MB / 0.5199 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.2304, allocations: 91.61 kB / 0.52 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000482/0.2309, allocations: 250.8 kB / 0.5203 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.2452, allocations: 4.616 MB / 0.5248 GB, free: 1.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.2452, allocations: 0 / 0.5248 GB, free: 1.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2452, allocations: 0 / 0.5248 GB, free: 1.355 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.2453, allocations: 0 / 0.5248 GB, free: 1.355 MB / 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.2142/0.4595, allocations: 1.365 MB / 0.5261 GB, free: 86.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/0.4596, allocations: 12.86 kB / 0.5261 GB, free: 86.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.4611, allocations: 153.7 kB / 0.5263 GB, free: 86.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.4616, allocations: 356.4 kB / 0.5266 GB, free: 86.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.4616, allocations: 22.03 kB / 0.5266 GB, free: 86.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.4617, allocations: 37.22 kB / 0.5267 GB, free: 86.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008205/0.4625, allocations: 480.8 kB / 0.5271 GB, free: 86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4626, allocations: 4.062 kB / 0.5271 GB, free: 86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.4626, allocations: 16.69 kB / 0.5271 GB, free: 86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.4626, allocations: 11.06 kB / 0.5271 GB, free: 86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005852/0.4632, allocations: 307.6 kB / 0.5274 GB, free: 86 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.002058/0.4653, allocations: 2.515 MB / 0.5299 GB, free: 84.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.4659, allocations: 277 kB / 0.5302 GB, free: 84.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.4661, allocations: 148.6 kB / 0.5303 GB, free: 84.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06289/0.529, allocations: 32.46 MB / 0.562 GB, free: 60.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008994/0.5299, allocations: 291.6 kB / 0.5623 GB, free: 60.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 4.929e-06/0.53, allocations: 0 / 0.5623 GB, free: 60.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004038/0.534, allocations: 1.707 MB / 0.5639 GB, free: 59.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.5341, allocations: 144.1 kB / 0.5641 GB, free: 59.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.5346, allocations: 405 kB / 0.5645 GB, free: 58.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.5347, allocations: 33.67 kB / 0.5645 GB, free: 58.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.5348, allocations: 239.3 kB / 0.5647 GB, free: 58.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.5349, allocations: 106.1 kB / 0.5648 GB, free: 58.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.5351, allocations: 77.14 kB / 0.5649 GB, free: 58.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5352, allocations: 369.7 kB / 0.5653 GB, free: 58.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.5354, allocations: 127.6 kB / 0.5654 GB, free: 58.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.5357, allocations: 210.1 kB / 0.5656 GB, free: 57.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.5363, allocations: 471 kB / 0.566 GB, free: 57.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.5363, allocations: 7.25 kB / 0.566 GB, free: 57.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001324/0.5376, allocations: 0.6211 MB / 0.5666 GB, free: 57.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/0.5377, allocations: 67.39 kB / 0.5667 GB, free: 57.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.5378, allocations: 0 / 0.5667 GB, free: 57.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.5392, allocations: 166.7 kB / 0.5669 GB, free: 57.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.5394, allocations: 62.81 kB / 0.5669 GB, free: 56.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008353/0.5403, allocations: 1.127 MB / 0.568 GB, free: 55.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.5406, allocations: 16.03 kB / 0.568 GB, free: 55.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.5407, allocations: 23.92 kB / 0.5681 GB, free: 55.75 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.0002916/0.541, allocations: 257.2 kB / 0.5683 GB, free: 55.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.5411, allocations: 51.44 kB / 0.5684 GB, free: 55.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.5429, allocations: 1.584 MB / 0.5699 GB, free: 53.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.5429, allocations: 23.91 kB / 0.5699 GB, free: 53.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5429, allocations: 0 / 0.5699 GB, free: 53.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.5429, allocations: 3.938 kB / 0.5699 GB, free: 53.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.5436, allocations: 0.7375 MB / 0.5707 GB, free: 53.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5436, allocations: 0 / 0.5707 GB, free: 53.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.5438, allocations: 36.73 kB / 0.5707 GB, free: 53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005005/0.5443, allocations: 257.7 kB / 0.5709 GB, free: 52.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.5443, allocations: 14 kB / 0.5709 GB, free: 52.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007135/0.5451, allocations: 1.343 MB / 0.5723 GB, free: 51.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5451, allocations: 0 / 0.5723 GB, free: 51.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.5467, allocations: 1.708 MB / 0.5739 GB, free: 49.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.5469, allocations: 176.1 kB / 0.5741 GB, free: 49.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.068e-05/0.547, allocations: 15.98 kB / 0.5741 GB, free: 49.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.5472, allocations: 8 kB / 0.5741 GB, free: 49.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.5472, allocations: 24.72 kB / 0.5741 GB, free: 49.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.5473, allocations: 16 kB / 0.5742 GB, free: 49.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.5475, allocations: 279.1 kB / 0.5744 GB, free: 49.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5475, allocations: 0 / 0.5744 GB, free: 49.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003248/0.5508, allocations: 1.114 MB / 0.5755 GB, free: 48.06 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.005243/0.5561, allocations: 1.321 MB / 0.5768 GB, free: 46.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.5573, allocations: 0.7524 MB / 0.5775 GB, free: 46.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5573, allocations: 0 / 0.5775 GB, free: 46.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005902/0.5579, allocations: 0.6024 MB / 0.5781 GB, free: 45.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009823/0.5589, allocations: 203.2 kB / 0.5783 GB, free: 45.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.5608, allocations: 1.472 MB / 0.5798 GB, free: 43.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.5611, allocations: 0.9111 MB / 0.5806 GB, free: 42.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.5614, allocations: 100.8 kB / 0.5807 GB, free: 42.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/0.5615, allocations: 35.44 kB / 0.5808 GB, free: 42.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5615, allocations: 0 / 0.5808 GB, free: 42.79 MB / 414.1 MB Notification: Performance of Templates: time 0.04667/0.6081, allocations: 40.75 MB / 0.6206 GB, free: 2.039 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1)