Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 293 MB / 309 MB, free: 4.801 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 184.1 kB / 378.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 0.6383 GB, free: 8.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008036/0.0008034, allocations: 92.53 kB / 0.7527 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 116.4 MB / 0.9904 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.621/1.904, allocations: 412.6 MB / 1.393 GB, free: 278.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.905, allocations: 92.47 kB / 1.393 GB, free: 278.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 10.8/12.7, allocations: 2.906 GB / 4.3 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.134e-06/12.7, allocations: 6.438 kB / 4.3 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001516/12.71, allocations: 249.3 kB / 4.3 GB, free: 116.2 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.03422/12.74, allocations: 9.716 MB / 4.309 GB, free: 113 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/12.74, allocations: 9.125 kB / 4.31 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007178/12.75, allocations: 1.172 MB / 4.311 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02697/12.77, allocations: 10.43 MB / 4.321 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007393/12.78, allocations: 0.6162 MB / 4.321 GB, free: 111 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003536/12.78, allocations: 0.82 MB / 4.322 GB, free: 111 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0309/12.81, allocations: 11.77 MB / 4.334 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004002/12.81, allocations: 27.36 kB / 4.334 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002686/12.81, allocations: 356.3 kB / 4.334 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002614/12.81, allocations: 250.1 kB / 4.334 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02127/12.83, allocations: 9.634 MB / 4.344 GB, free: 109.8 MB / 0.9792 GB 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.08887/12.92, allocations: 46.27 MB / 4.389 GB, free: 90.31 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/12.94, allocations: 6.195 MB / 4.395 GB, free: 90 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009426/12.94, allocations: 5.499 MB / 4.4 GB, free: 89.85 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/12.95, allocations: 0.8172 MB / 4.401 GB, free: 89.09 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007173/12.95, allocations: 3.402 MB / 4.404 GB, free: 88.92 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006409/12.96, allocations: 0.5214 MB / 4.405 GB, free: 88.65 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=449): time 4.796e-05/12.96, allocations: 0 / 4.405 GB, free: 88.65 MB / 0.9792 GB Notification: Performance of matching and sorting (n=449): time 0.01762/12.98, allocations: 8.806 MB / 4.414 GB, free: 88.08 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/12.98, allocations: 158.6 kB / 4.414 GB, free: 87.95 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01392/12.99, allocations: 7.27 MB / 4.421 GB, free: 87.48 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001406/12.99, allocations: 114.5 kB / 4.421 GB, free: 87.45 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004684/13, allocations: 4.277 MB / 4.425 GB, free: 85.84 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.002626/13, allocations: 1.559 MB / 4.427 GB, free: 84.86 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004615/13, allocations: 115.8 kB / 4.427 GB, free: 84.86 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004145/13, allocations: 0.5459 MB / 4.427 GB, free: 84.54 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004394/13.01, allocations: 2.968 MB / 4.43 GB, free: 84.53 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005442/13.01, allocations: 4.87 MB / 4.435 GB, free: 82.33 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/13.02, allocations: 8.522 MB / 4.443 GB, free: 80.04 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.137e-05/13.02, allocations: 18.56 kB / 4.443 GB, free: 80.04 MB / 0.9792 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01848/13.04, allocations: 8.812 MB / 4.452 GB, free: 79.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001291/13.04, allocations: 1.894 MB / 4.454 GB, free: 77.24 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.726e-05/13.04, allocations: 59.44 kB / 4.454 GB, free: 77.24 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001103/13.04, allocations: 89.28 kB / 4.454 GB, free: 77.24 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006236/13.05, allocations: 1.382 MB / 4.455 GB, free: 77.24 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001416/13.05, allocations: 132 kB / 4.455 GB, free: 77.24 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00943/13.06, allocations: 0.6107 MB / 4.456 GB, free: 77.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/13.06, allocations: 279.6 kB / 4.456 GB, free: 77.18 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/13.06, allocations: 4.875 kB / 4.456 GB, free: 77.18 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01377/13.07, allocations: 8.231 MB / 4.464 GB, free: 76.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/13.07, allocations: 63.5 kB / 4.464 GB, free: 76.85 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.978e-05/13.07, allocations: 93.8 kB / 4.464 GB, free: 76.85 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005328/13.08, allocations: 1.372 MB / 4.466 GB, free: 76.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001113/13.08, allocations: 127.6 kB / 4.466 GB, free: 76.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008928/13.09, allocations: 0.5871 MB / 4.466 GB, free: 76.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/13.09, allocations: 281.6 kB / 4.467 GB, free: 76.53 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008358/13.1, allocations: 3.559 MB / 4.47 GB, free: 74.97 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002465/13.1, allocations: 0.715 MB / 4.471 GB, free: 74.6 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/13.11, allocations: 7.075 MB / 4.478 GB, free: 71.91 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/13.11, allocations: 43.91 kB / 4.478 GB, free: 71.91 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/13.11, allocations: 0 / 4.478 GB, free: 71.91 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00816/13.12, allocations: 5.79 MB / 4.483 GB, free: 69.8 MB / 0.9792 GB 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 postOpt removeSimpleEquations (simulation): time 0.03515/13.16, allocations: 16.48 MB / 4.5 GB, free: 63.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/13.16, allocations: 0 / 4.5 GB, free: 63.49 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003689/13.16, allocations: 0.9496 MB / 4.501 GB, free: 63.42 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.957e-05/13.16, allocations: 13.53 kB / 4.501 GB, free: 63.42 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003459/13.16, allocations: 121.6 kB / 4.501 GB, free: 63.36 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-05/13.16, allocations: 17.28 kB / 4.501 GB, free: 63.36 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/13.16, allocations: 3 kB / 4.501 GB, free: 63.36 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/13.17, allocations: 10.52 MB / 4.511 GB, free: 59.14 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005765/13.18, allocations: 1.659 MB / 4.513 GB, free: 58.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002358/13.18, allocations: 92.39 kB / 4.513 GB, free: 58.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006622/13.19, allocations: 0.5989 MB / 4.513 GB, free: 58.12 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005204/13.19, allocations: 258.7 kB / 4.513 GB, free: 58.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005292/13.19, allocations: 202.8 kB / 4.514 GB, free: 58.05 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00876/13.2, allocations: 5.071 MB / 4.519 GB, free: 56.36 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.6e-07/13.2, allocations: 0 / 4.519 GB, free: 56.36 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02139/13.22, allocations: 4.868 MB / 4.523 GB, free: 55.35 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 21 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (445): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0027/13.22, allocations: 0.9279 MB / 4.524 GB, free: 55.04 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01628/13.24, allocations: 11.38 MB / 4.535 GB, free: 51.05 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/13.24, allocations: 4.438 kB / 4.535 GB, free: 51.05 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003924/13.24, allocations: 3.155 MB / 4.538 GB, free: 49.86 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02652/13.27, allocations: 4.419 MB / 4.543 GB, free: 48.77 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04521/13.31, allocations: 22.49 MB / 4.565 GB, free: 28.59 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01198/13.33, allocations: 6.097 MB / 4.571 GB, free: 23.94 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01803/13.34, allocations: 4.231 MB / 4.575 GB, free: 21.13 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003787/13.35, allocations: 0.6105 MB / 4.575 GB, free: 20.57 MB / 0.9792 GB Notification: Performance of SimCode: time 1.372e-06/13.35, allocations: 0 / 4.575 GB, free: 20.57 MB / 0.9792 GB Notification: Performance of Templates: time 0.9024/14.25, allocations: 160.2 MB / 4.732 GB, free: 111.4 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)