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.0009978/0.0009979, allocations: 94.48 kB / 16.3 MB, free: 6.461 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.0009574/0.0009573, allocations: 175.3 kB / 17.19 MB, free: 6.348 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.309/1.309, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2938/0.2938, allocations: 48.79 MB / 320.4 MB, free: 11.31 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.0005845/0.0005846, allocations: 14 kB / 391.1 MB, free: 50.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1128, allocations: 60.28 MB / 451.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.04513/0.158, allocations: 42.79 MB / 494.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01734/0.1754, allocations: 14.55 MB / 0.4968 GB, free: 104 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006206/0.1761, allocations: 11.94 kB / 0.4968 GB, free: 92 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007826/0.1769, allocations: 207.1 kB / 0.497 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005961/0.1829, allocations: 1.839 MB / 0.4988 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008255/0.1911, allocations: 2.587 MB / 0.5014 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.1922, allocations: 0.5266 MB / 0.5019 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.1927, allocations: 234.6 kB / 0.5021 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.1931, allocations: 251.2 kB / 0.5023 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.1934, allocations: 263 kB / 0.5026 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.1934, allocations: 20 kB / 0.5026 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01458/0.208, allocations: 7.25 MB / 0.5097 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.2083, allocations: 83.62 kB / 0.5098 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.2085, allocations: 121.5 kB / 0.5099 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006904/0.2154, allocations: 3.025 MB / 0.5128 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2155, allocations: 0 / 0.5128 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.2155, allocations: 0 / 0.5128 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.2155, allocations: 0 / 0.5128 GB, free: 15.67 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.003191/0.2187, allocations: 1.278 MB / 0.5141 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2188, allocations: 16.02 kB / 0.5141 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008881/0.2197, allocations: 139.3 kB / 0.5142 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.2201, allocations: 349 kB / 0.5146 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.2202, allocations: 24.66 kB / 0.5146 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.2202, allocations: 32 kB / 0.5146 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.221, allocations: 479 kB / 0.5151 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2211, allocations: 7.953 kB / 0.5151 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.2211, allocations: 16 kB / 0.5151 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.2211, allocations: 8 kB / 0.5151 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005734/0.2217, allocations: 306.3 kB / 0.5154 GB, free: 12.9 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.002374/0.2241, allocations: 2.517 MB / 0.5178 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.2247, allocations: 282.9 kB / 0.5181 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2512/0.4759, allocations: 32.76 MB / 0.5501 GB, free: 69.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006845/0.4766, allocations: 306.3 kB / 0.5504 GB, free: 68.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 3.116e-06/0.4767, allocations: 0 / 0.5504 GB, free: 68.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003627/0.4803, allocations: 1.859 MB / 0.5522 GB, free: 68.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.4804, allocations: 139.6 kB / 0.5523 GB, free: 67.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.4808, allocations: 403.3 kB / 0.5527 GB, free: 67.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.4808, allocations: 32.39 kB / 0.5528 GB, free: 67.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.481, allocations: 241.3 kB / 0.553 GB, free: 67.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/0.4811, allocations: 107.3 kB / 0.5531 GB, free: 67.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.4812, allocations: 7.812 kB / 0.5531 GB, free: 67.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.4813, allocations: 360.4 kB / 0.5534 GB, free: 67.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.4815, allocations: 137.1 kB / 0.5536 GB, free: 67.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.4817, allocations: 212.8 kB / 0.5538 GB, free: 67.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.4819, allocations: 204.5 kB / 0.554 GB, free: 66.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4819, allocations: 1.125 kB / 0.554 GB, free: 66.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008816/0.4828, allocations: 0.6201 MB / 0.5546 GB, free: 66.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.4829, allocations: 71.91 kB / 0.5547 GB, free: 66.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.4829, allocations: 2.156 kB / 0.5547 GB, free: 66.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.4841, allocations: 166.4 kB / 0.5548 GB, free: 66.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.4843, allocations: 63.36 kB / 0.5549 GB, free: 66.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000622/0.485, allocations: 1.132 MB / 0.556 GB, free: 65.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.4853, allocations: 32.02 kB / 0.556 GB, free: 65.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.4853, allocations: 21.67 kB / 0.556 GB, free: 65.3 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 ($whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,$PRE.steamFlowRate.nextEvent,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.4856, allocations: 245.4 kB / 0.5563 GB, free: 65.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.4856, allocations: 54 kB / 0.5563 GB, free: 65.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.4873, allocations: 1.585 MB / 0.5579 GB, free: 64.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.4873, allocations: 15.88 kB / 0.5579 GB, free: 64.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4873, allocations: 3.312 kB / 0.5579 GB, free: 64.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4874, allocations: 0 / 0.5579 GB, free: 64.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.4879, allocations: 0.7369 MB / 0.5586 GB, free: 63.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4879, allocations: 1.625 kB / 0.5586 GB, free: 63.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.4882, allocations: 41.92 kB / 0.5586 GB, free: 63.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006798/0.4889, allocations: 379.5 kB / 0.559 GB, free: 63.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.4889, allocations: 11.53 kB / 0.559 GB, free: 63.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006616/0.4896, allocations: 1.34 MB / 0.5603 GB, free: 62.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4896, allocations: 0 / 0.5603 GB, free: 62.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.4912, allocations: 1.712 MB / 0.562 GB, free: 61.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.4914, allocations: 184.4 kB / 0.5622 GB, free: 61.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.4915, allocations: 11.91 kB / 0.5622 GB, free: 61.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.4917, allocations: 23.73 kB / 0.5622 GB, free: 61.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.4918, allocations: 23.84 kB / 0.5622 GB, free: 61.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.4918, allocations: 20.77 kB / 0.5622 GB, free: 61.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.4921, allocations: 277.5 kB / 0.5625 GB, free: 60.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4921, allocations: 0 / 0.5625 GB, free: 60.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002571/0.4947, allocations: 1.104 MB / 0.5636 GB, free: 60.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003687/0.4983, allocations: 1.317 MB / 0.5649 GB, free: 60.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.4994, allocations: 0.7359 MB / 0.5656 GB, free: 59.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4994, allocations: 0 / 0.5656 GB, free: 59.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.4999, allocations: 0.5951 MB / 0.5662 GB, free: 59.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009282/0.5009, allocations: 174.8 kB / 0.5663 GB, free: 58.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.5026, allocations: 1.77 MB / 0.5681 GB, free: 57.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.5028, allocations: 0.9267 MB / 0.569 GB, free: 56.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000204/0.5031, allocations: 89.47 kB / 0.5691 GB, free: 56.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.5031, allocations: 35.42 kB / 0.5691 GB, free: 56.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5031, allocations: 4 kB / 0.5691 GB, free: 56.09 MB / 414.1 MB Notification: Performance of Templates: time 0.04178/0.5449, allocations: 40.5 MB / 0.6087 GB, free: 15.57 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: