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.001604/0.001604, allocations: 117.7 kB / 17.7 MB, free: 5.305 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.001866/0.001867, allocations: 191 kB / 18.63 MB, free: 4.379 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.457/1.457, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2702/0.2702, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.00148/0.00148, allocations: 68.73 kB / 391.5 MB, free: 48.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.09083, allocations: 59.17 MB / 450.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.04776/0.1386, allocations: 50.95 MB / 0.4899 GB, free: 5.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01795/0.1566, allocations: 17.11 MB / 0.5066 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007121/0.1574, allocations: 11.94 kB / 0.5066 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009787/0.1584, allocations: 266.4 kB / 0.5069 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006108/0.1646, allocations: 2.374 MB / 0.5092 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008275/0.1728, allocations: 3.234 MB / 0.5123 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.1742, allocations: 0.8523 MB / 0.5132 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004806/0.1747, allocations: 300.6 kB / 0.5135 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004726/0.1751, allocations: 342.7 kB / 0.5138 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.1756, allocations: 366.6 kB / 0.5141 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.163e-05/0.1757, allocations: 32 kB / 0.5142 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/0.1892, allocations: 7.523 MB / 0.5215 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.1894, allocations: 95.61 kB / 0.5216 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.1898, allocations: 258.7 kB / 0.5219 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.2003, allocations: 4.608 MB / 0.5264 GB, free: 476 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2004, allocations: 0 / 0.5264 GB, free: 476 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2004, allocations: 0 / 0.5264 GB, free: 476 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.2004, allocations: 0 / 0.5264 GB, free: 476 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.1832/0.3836, allocations: 1.361 MB / 0.5277 GB, free: 86.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3836, allocations: 14.08 kB / 0.5277 GB, free: 86.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000979/0.3846, allocations: 153.5 kB / 0.5278 GB, free: 86.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.3851, allocations: 359.8 kB / 0.5282 GB, free: 86.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3851, allocations: 27.62 kB / 0.5282 GB, free: 86.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/0.3852, allocations: 36.41 kB / 0.5282 GB, free: 86.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/0.386, allocations: 478.2 kB / 0.5287 GB, free: 86.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.386, allocations: 2.969 kB / 0.5287 GB, free: 86.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.386, allocations: 19.94 kB / 0.5287 GB, free: 86.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.386, allocations: 10.75 kB / 0.5287 GB, free: 86.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005819/0.3866, allocations: 302.5 kB / 0.529 GB, free: 86.07 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.001866/0.3885, allocations: 2.502 MB / 0.5315 GB, free: 84.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.3891, allocations: 278.1 kB / 0.5317 GB, free: 84.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.3893, allocations: 152.3 kB / 0.5319 GB, free: 84.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05629/0.4456, allocations: 32.6 MB / 0.5637 GB, free: 60.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/0.4462, allocations: 304.3 kB / 0.564 GB, free: 59.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/0.4462, allocations: 0 / 0.564 GB, free: 59.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003237/0.4495, allocations: 1.699 MB / 0.5657 GB, free: 58.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4495, allocations: 140.4 kB / 0.5658 GB, free: 58.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.4499, allocations: 400.9 kB / 0.5662 GB, free: 58.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.4499, allocations: 29.7 kB / 0.5662 GB, free: 58.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.45, allocations: 246.6 kB / 0.5664 GB, free: 58.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.4e-05/0.4501, allocations: 110.6 kB / 0.5665 GB, free: 58.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.651e-05/0.4502, allocations: 76.67 kB / 0.5666 GB, free: 58.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.4503, allocations: 358.2 kB / 0.567 GB, free: 57.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.4504, allocations: 138.4 kB / 0.5671 GB, free: 57.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.4507, allocations: 216.3 kB / 0.5673 GB, free: 57.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.4511, allocations: 472.6 kB / 0.5678 GB, free: 57.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4511, allocations: 2.125 kB / 0.5678 GB, free: 57.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008695/0.452, allocations: 0.6173 MB / 0.5684 GB, free: 56.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.452, allocations: 71.64 kB / 0.5684 GB, free: 56.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.452, allocations: 4 kB / 0.5684 GB, free: 56.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.4532, allocations: 159.9 kB / 0.5686 GB, free: 56.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.4534, allocations: 56.7 kB / 0.5686 GB, free: 56.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006306/0.4541, allocations: 1.141 MB / 0.5697 GB, free: 55.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.4543, allocations: 12 kB / 0.5698 GB, free: 55.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.4544, allocations: 19.94 kB / 0.5698 GB, free: 55.36 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.0001992/0.4546, allocations: 252.3 kB / 0.57 GB, free: 55.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.4546, allocations: 47.44 kB / 0.5701 GB, free: 55.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.4561, allocations: 1.576 MB / 0.5716 GB, free: 53.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.4562, allocations: 19.97 kB / 0.5716 GB, free: 53.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4562, allocations: 4 kB / 0.5716 GB, free: 53.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4562, allocations: 3.938 kB / 0.5716 GB, free: 53.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.4567, allocations: 0.7328 MB / 0.5723 GB, free: 52.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4567, allocations: 0 / 0.5723 GB, free: 52.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.4569, allocations: 52.06 kB / 0.5724 GB, free: 52.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004861/0.4574, allocations: 252.3 kB / 0.5726 GB, free: 52.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.4575, allocations: 8 kB / 0.5726 GB, free: 52.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006079/0.4581, allocations: 1.338 MB / 0.574 GB, free: 50.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4581, allocations: 4.156 kB / 0.574 GB, free: 50.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.4596, allocations: 1.701 MB / 0.5756 GB, free: 49.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.4598, allocations: 188 kB / 0.5758 GB, free: 49.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/0.4599, allocations: 16 kB / 0.5758 GB, free: 49.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.4601, allocations: 15.98 kB / 0.5758 GB, free: 49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.4601, allocations: 23.97 kB / 0.5758 GB, free: 48.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.4602, allocations: 12 kB / 0.5759 GB, free: 48.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.4604, allocations: 279.1 kB / 0.5761 GB, free: 48.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4604, allocations: 0 / 0.5761 GB, free: 48.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002699/0.4631, allocations: 1.101 MB / 0.5772 GB, free: 47.6 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.004158/0.4673, allocations: 1.325 MB / 0.5785 GB, free: 46.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.4684, allocations: 0.7412 MB / 0.5792 GB, free: 45.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4684, allocations: 0 / 0.5792 GB, free: 45.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005457/0.469, allocations: 0.5966 MB / 0.5798 GB, free: 45.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/0.4699, allocations: 196.6 kB / 0.58 GB, free: 44.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.4716, allocations: 1.466 MB / 0.5814 GB, free: 43.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.4718, allocations: 0.9111 MB / 0.5823 GB, free: 42.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001941/0.472, allocations: 89.03 kB / 0.5824 GB, free: 42.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.4721, allocations: 39.42 kB / 0.5824 GB, free: 42.33 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4721, allocations: 4 kB / 0.5824 GB, free: 42.33 MB / 414.1 MB Notification: Performance of Templates: time 0.04143/0.5135, allocations: 40.62 MB / 0.6221 GB, free: 1.746 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 cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1)