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.001547/0.001547, allocations: 109.8 kB / 17.06 MB, free: 5.977 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: 198.8 kB / 18.01 MB, free: 5.051 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.426/1.426, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3014/0.3014, allocations: 48.85 MB / 320.1 MB, free: 11 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.002492/0.002492, allocations: 71.89 kB / 450.5 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.115, allocations: 59.16 MB / 0.4977 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2871/0.4021, allocations: 50.95 MB / 0.5475 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0181/0.4203, allocations: 17.11 MB / 0.5642 GB, free: 10 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000559/0.4209, allocations: 9.438 kB / 0.5642 GB, free: 10 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.4219, allocations: 265.8 kB / 0.5645 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007088/0.4291, allocations: 2.369 MB / 0.5668 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.4395, allocations: 3.24 MB / 0.57 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.441, allocations: 0.8662 MB / 0.5708 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005102/0.4415, allocations: 293.2 kB / 0.5711 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004871/0.442, allocations: 338 kB / 0.5714 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004963/0.4425, allocations: 372.9 kB / 0.5718 GB, free: 6.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/0.4426, allocations: 32.22 kB / 0.5718 GB, free: 6.227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0187/0.4613, allocations: 7.52 MB / 0.5791 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.4615, allocations: 91.94 kB / 0.5792 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.462, allocations: 252.5 kB / 0.5795 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.4756, allocations: 4.626 MB / 0.584 GB, free: 15.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4757, allocations: 0 / 0.584 GB, free: 15.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4757, allocations: 0 / 0.584 GB, free: 15.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.4757, allocations: 0 / 0.584 GB, free: 15.19 MB / 446.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.004015/0.4797, allocations: 1.401 MB / 0.5853 GB, free: 14.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.4798, allocations: 13.3 kB / 0.5854 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.481, allocations: 157 kB / 0.5855 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.4817, allocations: 363.9 kB / 0.5859 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.4817, allocations: 31.22 kB / 0.5859 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.4818, allocations: 42.06 kB / 0.5859 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00095/0.4828, allocations: 490.3 kB / 0.5864 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.4828, allocations: 0 / 0.5864 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.4828, allocations: 13.47 kB / 0.5864 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.4829, allocations: 7.375 kB / 0.5864 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007011/0.4836, allocations: 310.6 kB / 0.5867 GB, free: 13.2 MB / 446.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.00271/0.4863, allocations: 2.504 MB / 0.5892 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.4869, allocations: 291.2 kB / 0.5894 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.4871, allocations: 144.7 kB / 0.5896 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07015/0.5573, allocations: 32.59 MB / 0.6214 GB, free: 7.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009689/0.5583, allocations: 298.6 kB / 0.6217 GB, free: 6.863 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 4.548e-06/0.5583, allocations: 0 / 0.6217 GB, free: 6.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.005226/0.5635, allocations: 1.71 MB / 0.6233 GB, free: 5.035 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.5637, allocations: 144.5 kB / 0.6235 GB, free: 4.863 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006602/0.5644, allocations: 413.8 kB / 0.6239 GB, free: 4.449 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.5644, allocations: 29.7 kB / 0.6239 GB, free: 4.414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.5647, allocations: 244.5 kB / 0.6241 GB, free: 4.172 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.5649, allocations: 115 kB / 0.6243 GB, free: 4.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.5651, allocations: 81.97 kB / 0.6243 GB, free: 3.973 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.5653, allocations: 358.8 kB / 0.6247 GB, free: 3.613 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.5656, allocations: 128.7 kB / 0.6248 GB, free: 3.488 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.566, allocations: 215.8 kB / 0.625 GB, free: 3.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007969/0.5668, allocations: 470.2 kB / 0.6254 GB, free: 2.738 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5668, allocations: 0 / 0.6254 GB, free: 2.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001554/0.5684, allocations: 0.6285 MB / 0.6261 GB, free: 2.086 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.5685, allocations: 67.3 kB / 0.6261 GB, free: 2.008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.5685, allocations: 7.938 kB / 0.6261 GB, free: 2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.57, allocations: 163 kB / 0.6263 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.5703, allocations: 64.16 kB / 0.6264 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009811/0.5713, allocations: 1.132 MB / 0.6275 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.5716, allocations: 16 kB / 0.6275 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.5716, allocations: 15.98 kB / 0.6275 GB, free: 0.5625 MB / 478.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.0003165/0.572, allocations: 252.9 kB / 0.6277 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.5721, allocations: 47.72 kB / 0.6278 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/0.5751, allocations: 1.587 MB / 0.6293 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/0.5751, allocations: 19.91 kB / 0.6293 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.5751, allocations: 3.938 kB / 0.6293 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.5751, allocations: 4 kB / 0.6294 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.5763, allocations: 0.7361 MB / 0.6301 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.5763, allocations: 0 / 0.6301 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.5766, allocations: 39.98 kB / 0.6301 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008868/0.5775, allocations: 249.2 kB / 0.6303 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.5776, allocations: 19.19 kB / 0.6304 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.5789, allocations: 1.343 MB / 0.6317 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.5789, allocations: 1.125 kB / 0.6317 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.582, allocations: 1.707 MB / 0.6333 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.5823, allocations: 188.4 kB / 0.6335 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.5825, allocations: 15.98 kB / 0.6335 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.5828, allocations: 8 kB / 0.6335 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.554e-05/0.5829, allocations: 23.97 kB / 0.6336 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.583, allocations: 16 kB / 0.6336 GB, free: 10.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004731/0.5835, allocations: 279.1 kB / 0.6338 GB, free: 9.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5835, allocations: 0 / 0.6338 GB, free: 9.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005182/0.5887, allocations: 1.115 MB / 0.6349 GB, free: 8.723 MB / 494.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.00938/0.5981, allocations: 1.338 MB / 0.6362 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.6001, allocations: 0.7438 MB / 0.637 GB, free: 6.613 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6001, allocations: 0 / 0.637 GB, free: 6.613 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.6012, allocations: 0.5989 MB / 0.6376 GB, free: 5.988 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.6027, allocations: 193.3 kB / 0.6377 GB, free: 5.801 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.6059, allocations: 1.485 MB / 0.6392 GB, free: 4.285 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.6065, allocations: 0.9072 MB / 0.6401 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.6069, allocations: 95.19 kB / 0.6402 GB, free: 3.254 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.607, allocations: 35.44 kB / 0.6402 GB, free: 3.219 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.607, allocations: 0 / 0.6402 GB, free: 3.219 MB / 494.1 MB Notification: Performance of Templates: time 0.0559/0.6629, allocations: 40.7 MB / 0.68 GB, free: 10.45 MB / 0.5294 GB 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)