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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001717/0.001717, allocations: 184.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 223.1 MB, free: 8.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 106.7 kB / 270.5 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.386/0.386, allocations: 48.84 MB / 366.7 MB, free: 46.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 55.91 kB / 436.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1059, allocations: 59.15 MB / 495.7 MB, free: 148 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2264/0.3323, allocations: 51.82 MB / 0.5347 GB, free: 29.55 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.347, allocations: 17.87 MB / 0.5522 GB, free: 17.04 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007117/0.3477, allocations: 14.72 kB / 0.5522 GB, free: 17.03 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009147/0.3487, allocations: 223.1 kB / 0.5524 GB, free: 16.93 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005008/0.3537, allocations: 1.927 MB / 0.5543 GB, free: 16.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007739/0.3615, allocations: 2.67 MB / 0.5569 GB, free: 14.8 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.3627, allocations: 1.215 MB / 0.5581 GB, free: 14.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.3631, allocations: 252.4 kB / 0.5583 GB, free: 14.29 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.3634, allocations: 310.1 kB / 0.5586 GB, free: 14.14 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.3638, allocations: 374.7 kB / 0.559 GB, free: 13.94 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.979e-05/0.3639, allocations: 21.47 kB / 0.559 GB, free: 13.94 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01282/0.3767, allocations: 7.423 MB / 0.5663 GB, free: 10.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.3769, allocations: 100.7 kB / 0.5663 GB, free: 10.08 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003807/0.3773, allocations: 240.1 kB / 0.5666 GB, free: 9.941 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009461/0.3867, allocations: 4.619 MB / 0.5711 GB, free: 7.047 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3868, allocations: 0 / 0.5711 GB, free: 7.047 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3868, allocations: 4.531 kB / 0.5711 GB, free: 7.043 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.3868, allocations: 0 / 0.5711 GB, free: 7.043 MB / 394.7 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.00346/0.3903, allocations: 1.365 MB / 0.5724 GB, free: 6.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3903, allocations: 8.25 kB / 0.5724 GB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009438/0.3913, allocations: 152.2 kB / 0.5726 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.3917, allocations: 357 kB / 0.5729 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3917, allocations: 28.16 kB / 0.5729 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.3918, allocations: 35.94 kB / 0.573 GB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.3925, allocations: 485.4 kB / 0.5734 GB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3926, allocations: 5.281 kB / 0.5734 GB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.3926, allocations: 14.48 kB / 0.5735 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.3926, allocations: 8.656 kB / 0.5735 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006371/0.3933, allocations: 310.9 kB / 0.5738 GB, free: 5.109 MB / 394.7 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.001956/0.3952, allocations: 2.491 MB / 0.5762 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.3958, allocations: 292.5 kB / 0.5765 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.396, allocations: 148.3 kB / 0.5766 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06413/0.4601, allocations: 32.45 MB / 0.6083 GB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006234/0.4607, allocations: 302.5 kB / 0.6086 GB, free: 15.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 2.564e-06/0.4608, allocations: 0 / 0.6086 GB, free: 15.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.003783/0.4646, allocations: 1.697 MB / 0.6103 GB, free: 13.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.4647, allocations: 144.5 kB / 0.6104 GB, free: 13.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/0.4652, allocations: 409.8 kB / 0.6108 GB, free: 13.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.4652, allocations: 33.64 kB / 0.6108 GB, free: 13.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.4654, allocations: 236.2 kB / 0.611 GB, free: 12.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/0.4655, allocations: 122.3 kB / 0.6112 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.4656, allocations: 77.94 kB / 0.6112 GB, free: 12.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4657, allocations: 358.8 kB / 0.6116 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.4659, allocations: 132.7 kB / 0.6117 GB, free: 12.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.4662, allocations: 215.8 kB / 0.6119 GB, free: 11.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.4667, allocations: 470 kB / 0.6124 GB, free: 11.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4667, allocations: 0 / 0.6124 GB, free: 11.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001006/0.4677, allocations: 0.6148 MB / 0.613 GB, free: 10.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.348e-05/0.4678, allocations: 67.64 kB / 0.613 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4678, allocations: 11.94 kB / 0.613 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.469, allocations: 162.8 kB / 0.6132 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.4693, allocations: 55.92 kB / 0.6132 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000846/0.4701, allocations: 1.133 MB / 0.6143 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.4705, allocations: 40.05 kB / 0.6144 GB, free: 9.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.4705, allocations: 12 kB / 0.6144 GB, free: 9.293 MB / 442.7 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.0002427/0.4708, allocations: 251 kB / 0.6146 GB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/0.4709, allocations: 51.44 kB / 0.6147 GB, free: 8.977 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.4727, allocations: 1.591 MB / 0.6162 GB, free: 7.371 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.4728, allocations: 11.98 kB / 0.6163 GB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.4728, allocations: 7.922 kB / 0.6163 GB, free: 7.352 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4728, allocations: 4 kB / 0.6163 GB, free: 7.348 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007631/0.4736, allocations: 0.7398 MB / 0.617 GB, free: 6.559 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4736, allocations: 2.188 kB / 0.617 GB, free: 6.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.4738, allocations: 43.97 kB / 0.617 GB, free: 6.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007031/0.4745, allocations: 366.4 kB / 0.6174 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.4746, allocations: 26.83 kB / 0.6174 GB, free: 6.129 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008762/0.4755, allocations: 1.328 MB / 0.6187 GB, free: 4.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4755, allocations: 4.094 kB / 0.6187 GB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1656/0.6411, allocations: 59.03 MB / 0.6763 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.6414, allocations: 180 kB / 0.6765 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.6415, allocations: 16 kB / 0.6765 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.6418, allocations: 28.02 kB / 0.6766 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.6419, allocations: 23.97 kB / 0.6766 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.6419, allocations: 19.92 kB / 0.6766 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003185/0.6422, allocations: 275.2 kB / 0.6769 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6423, allocations: 0 / 0.6769 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01131/0.6536, allocations: 3.354 MB / 0.6801 GB, free: 4.703 MB / 0.4948 GB 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.02302/0.6766, allocations: 2.46 MB / 0.6825 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.6782, allocations: 0.7475 MB / 0.6833 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.6783, allocations: 0 / 0.6833 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008125/0.6791, allocations: 0.5916 MB / 0.6839 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.6804, allocations: 191.4 kB / 0.684 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1786/0.8591, allocations: 2.814 MB / 0.6868 GB, free: 141 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.8595, allocations: 0.9566 MB / 0.6877 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003705/0.8599, allocations: 106.7 kB / 0.6878 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.86, allocations: 48.84 kB / 0.6879 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.86, allocations: 1.094 kB / 0.6879 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.1633/1.023, allocations: 145.7 MB / 0.8301 GB, free: 41.01 MB / 0.4948 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)