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.001538/0.001538, allocations: 114 kB / 17.06 MB, free: 5.992 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.001787/0.001787, allocations: 198.9 kB / 18 MB, free: 5.07 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.443/1.443, allocations: 205.1 MB / 223.9 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.2824/0.2824, allocations: 48.84 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.001688/0.001688, allocations: 67.91 kB / 450.5 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.131, 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.3168/0.4478, allocations: 50.94 MB / 0.5475 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02058/0.4684, allocations: 17.12 MB / 0.5642 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005614/0.469, allocations: 9.406 kB / 0.5642 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009704/0.47, allocations: 259.1 kB / 0.5645 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008523/0.4786, allocations: 2.366 MB / 0.5668 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01123/0.4898, allocations: 3.253 MB / 0.57 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.4912, allocations: 0.8506 MB / 0.5708 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005049/0.4917, allocations: 302.7 kB / 0.5711 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.4922, allocations: 343.9 kB / 0.5714 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/0.4927, allocations: 367.5 kB / 0.5718 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.4928, allocations: 37.28 kB / 0.5718 GB, free: 6.215 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01661/0.5094, allocations: 7.512 MB / 0.5791 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.5097, allocations: 98.69 kB / 0.5792 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005181/0.5102, allocations: 257.6 kB / 0.5795 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.5232, allocations: 4.6 MB / 0.584 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5233, allocations: 6.562 kB / 0.584 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5233, allocations: 4 kB / 0.584 GB, free: 15.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.532e-05/0.5233, allocations: 0 / 0.584 GB, free: 15.2 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.00443/0.5277, allocations: 1.359 MB / 0.5853 GB, free: 14.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.5278, allocations: 15.3 kB / 0.5853 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.5289, allocations: 146.6 kB / 0.5854 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006929/0.5296, allocations: 367.6 kB / 0.5858 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.5297, allocations: 29.83 kB / 0.5858 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/0.5297, allocations: 36.22 kB / 0.5859 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009393/0.5307, allocations: 485.8 kB / 0.5863 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.5307, allocations: 0 / 0.5863 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.5308, allocations: 17.2 kB / 0.5863 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.5308, allocations: 7.969 kB / 0.5864 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006825/0.5315, allocations: 310.7 kB / 0.5866 GB, free: 13.26 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.00269/0.5342, allocations: 2.504 MB / 0.5891 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.5348, allocations: 283.9 kB / 0.5894 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.535, allocations: 162.4 kB / 0.5895 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06907/0.6041, allocations: 32.58 MB / 0.6213 GB, free: 7.246 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008373/0.605, allocations: 298.6 kB / 0.6216 GB, free: 6.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 3.296e-06/0.605, allocations: 0 / 0.6216 GB, free: 6.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004269/0.6093, allocations: 1.706 MB / 0.6233 GB, free: 5.105 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.59e-05/0.6094, allocations: 144.5 kB / 0.6234 GB, free: 4.934 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.61, allocations: 409.8 kB / 0.6238 GB, free: 4.523 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.61, allocations: 29.7 kB / 0.6238 GB, free: 4.488 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.6102, allocations: 244.2 kB / 0.6241 GB, free: 4.246 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.6104, allocations: 106.5 kB / 0.6242 GB, free: 4.141 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.6105, allocations: 77.92 kB / 0.6243 GB, free: 4.059 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6107, allocations: 354.8 kB / 0.6246 GB, free: 3.703 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.6109, allocations: 136.7 kB / 0.6247 GB, free: 3.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.6113, allocations: 211.8 kB / 0.6249 GB, free: 3.336 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.6119, allocations: 470.2 kB / 0.6254 GB, free: 2.824 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6119, allocations: 0 / 0.6254 GB, free: 2.824 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001156/0.6131, allocations: 0.6231 MB / 0.626 GB, free: 2.176 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.6132, allocations: 75.3 kB / 0.6261 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.6132, allocations: 3.938 kB / 0.6261 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.6145, allocations: 169.8 kB / 0.6262 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.6147, allocations: 55.92 kB / 0.6263 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009675/0.6157, allocations: 1.132 MB / 0.6274 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.616, allocations: 12 kB / 0.6274 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.616, allocations: 16 kB / 0.6274 GB, free: 0.6484 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.0003035/0.6164, allocations: 252.9 kB / 0.6276 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.6165, allocations: 47.44 kB / 0.6277 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.6186, allocations: 1.591 MB / 0.6292 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.6186, allocations: 19.97 kB / 0.6293 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.6187, allocations: 7.875 kB / 0.6293 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6187, allocations: 4 kB / 0.6293 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007993/0.6195, allocations: 0.7282 MB / 0.63 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.6195, allocations: 4 kB / 0.63 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.6197, allocations: 47.91 kB / 0.63 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005998/0.6203, allocations: 248.3 kB / 0.6303 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.6204, allocations: 12 kB / 0.6303 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.6214, allocations: 1.339 MB / 0.6316 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6214, allocations: 0 / 0.6316 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.6236, allocations: 1.711 MB / 0.6333 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.6238, allocations: 184.1 kB / 0.6334 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.387e-05/0.6239, allocations: 12 kB / 0.6334 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.6241, allocations: 11.98 kB / 0.6335 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.6242, allocations: 27.91 kB / 0.6335 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.6243, allocations: 16 kB / 0.6335 GB, free: 10.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003124/0.6246, allocations: 279.1 kB / 0.6338 GB, free: 9.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6246, allocations: 4 kB / 0.6338 GB, free: 9.918 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003911/0.6285, allocations: 1.105 MB / 0.6348 GB, free: 8.812 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.00727/0.6358, allocations: 1.32 MB / 0.6361 GB, free: 7.492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.6372, allocations: 0.7475 MB / 0.6369 GB, free: 6.719 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.6373, allocations: 0 / 0.6369 GB, free: 6.719 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007498/0.638, allocations: 0.5994 MB / 0.6375 GB, free: 6.094 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.6392, allocations: 193.1 kB / 0.6376 GB, free: 5.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.6415, allocations: 1.44 MB / 0.639 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.6421, allocations: 0.9111 MB / 0.6399 GB, free: 3.496 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.6424, allocations: 99.12 kB / 0.64 GB, free: 3.402 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/0.6425, allocations: 35.42 kB / 0.6401 GB, free: 3.367 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6425, allocations: 0 / 0.6401 GB, free: 3.367 MB / 494.1 MB Notification: Performance of Templates: time 0.06507/0.7076, allocations: 40.9 MB / 0.68 GB, free: 10.4 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)