Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.638/2.638, allocations: 287.5 MB / 303.2 MB, free: 8.324 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.001354/0.001354, allocations: 188.1 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009886/0.0009883, allocations: 96.45 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005264/0.0005267, allocations: 11.16 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2269, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/1.553, allocations: 411.4 MB / 1.381 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/1.554, allocations: 96.02 kB / 1.381 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 15.19/16.75, allocations: 2.906 GB / 4.287 GB, free: 4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.807e-06/16.75, allocations: 0 / 4.287 GB, free: 4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001789/16.75, allocations: 251.8 kB / 4.288 GB, free: 3.754 MB / 0.9636 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.04519/16.79, allocations: 9.713 MB / 4.297 GB, free: 9.93 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/16.79, allocations: 12.03 kB / 4.297 GB, free: 9.918 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009155/16.8, allocations: 1.168 MB / 4.298 GB, free: 8.738 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8031/17.61, allocations: 10.42 MB / 4.309 GB, free: 124.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001064/17.61, allocations: 0.6179 MB / 4.309 GB, free: 124.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004449/17.61, allocations: 0.8183 MB / 4.31 GB, free: 124.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04718/17.66, allocations: 11.77 MB / 4.321 GB, free: 123 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006208/17.66, allocations: 22.72 kB / 4.321 GB, free: 123 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003618/17.66, allocations: 361.6 kB / 4.322 GB, free: 123 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004918/17.66, allocations: 250.1 kB / 4.322 GB, free: 123 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03676/17.7, allocations: 9.626 MB / 4.331 GB, free: 123 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.1132/17.81, allocations: 46.28 MB / 4.377 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/17.83, allocations: 6.202 MB / 4.383 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0131/17.84, allocations: 5.497 MB / 4.388 GB, free: 104 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/17.85, allocations: 0.8168 MB / 4.389 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01058/17.86, allocations: 3.399 MB / 4.392 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007139/17.86, allocations: 0.5147 MB / 4.393 GB, free: 103 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=449): time 2.331e-05/17.86, allocations: 0 / 4.393 GB, free: 103 MB / 0.9792 GB Notification: Performance of matching and sorting (n=449): time 0.02815/17.89, allocations: 8.805 MB / 4.401 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/17.89, allocations: 160.2 kB / 4.401 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01993/17.91, allocations: 7.28 MB / 4.409 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001572/17.91, allocations: 113.5 kB / 4.409 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.007307/17.92, allocations: 4.278 MB / 4.413 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003321/17.92, allocations: 1.556 MB / 4.414 GB, free: 99.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008356/17.92, allocations: 117 kB / 4.414 GB, free: 99.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005467/17.93, allocations: 0.5466 MB / 4.415 GB, free: 99.48 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008407/17.93, allocations: 2.967 MB / 4.418 GB, free: 99.47 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01032/17.94, allocations: 4.864 MB / 4.423 GB, free: 97.27 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01959/17.96, allocations: 8.521 MB / 4.431 GB, free: 94.98 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.513e-05/17.96, allocations: 17.56 kB / 4.431 GB, free: 94.98 MB / 0.9792 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02708/17.99, allocations: 8.817 MB / 4.44 GB, free: 94.44 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001462/17.99, allocations: 1.897 MB / 4.441 GB, free: 92.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/17.99, allocations: 61.31 kB / 4.441 GB, free: 92.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/17.99, allocations: 91.25 kB / 4.442 GB, free: 92.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/18, allocations: 1.376 MB / 4.443 GB, free: 92.18 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001858/18, allocations: 124.2 kB / 4.443 GB, free: 92.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01271/18.02, allocations: 0.6057 MB / 4.444 GB, free: 92.12 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002004/18.02, allocations: 283.8 kB / 4.444 GB, free: 92.12 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/18.02, allocations: 5 kB / 4.444 GB, free: 92.12 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02481/18.04, allocations: 8.235 MB / 4.452 GB, free: 91.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001763/18.04, allocations: 62.34 kB / 4.452 GB, free: 91.97 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/18.04, allocations: 88.66 kB / 4.452 GB, free: 91.97 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/18.05, allocations: 1.375 MB / 4.453 GB, free: 91.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001988/18.05, allocations: 128.2 kB / 4.454 GB, free: 91.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01194/18.07, allocations: 0.5926 MB / 4.454 GB, free: 91.92 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/18.07, allocations: 278.7 kB / 4.454 GB, free: 91.92 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.01076/18.08, allocations: 3.565 MB / 4.458 GB, free: 91.62 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003264/18.08, allocations: 0.7084 MB / 4.459 GB, free: 91.26 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02375/18.11, allocations: 7.067 MB / 4.465 GB, free: 90.98 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.603e-05/18.11, allocations: 51.39 kB / 4.465 GB, free: 90.98 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/18.11, allocations: 0 / 4.465 GB, free: 90.98 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0179/18.12, allocations: 5.8 MB / 4.471 GB, free: 90.75 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.05794/18.18, allocations: 16.46 MB / 4.487 GB, free: 89.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/18.18, allocations: 0 / 4.487 GB, free: 89.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008778/18.19, allocations: 0.9536 MB / 4.488 GB, free: 89.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.655e-05/18.19, allocations: 22.16 kB / 4.488 GB, free: 89.64 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001239/18.19, allocations: 121.2 kB / 4.488 GB, free: 89.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-05/18.19, allocations: 15.19 kB / 4.488 GB, free: 89.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/18.19, allocations: 0 / 4.488 GB, free: 89.64 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02782/18.22, allocations: 10.52 MB / 4.499 GB, free: 85.63 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007782/18.23, allocations: 1.664 MB / 4.5 GB, free: 84.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003704/18.23, allocations: 94.44 kB / 4.5 GB, free: 84.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01209/18.24, allocations: 0.5969 MB / 4.501 GB, free: 84.61 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/18.25, allocations: 250.1 kB / 4.501 GB, free: 84.58 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001059/18.25, allocations: 205 kB / 4.501 GB, free: 84.54 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01406/18.26, allocations: 5.07 MB / 4.506 GB, free: 82.85 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.253e-06/18.26, allocations: 0 / 4.506 GB, free: 82.85 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0241/18.29, allocations: 4.872 MB / 4.511 GB, free: 81.88 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.003654/18.29, allocations: 0.91 MB / 4.512 GB, free: 81.65 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02975/18.32, allocations: 11.38 MB / 4.523 GB, free: 77.91 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-05/18.32, allocations: 8.469 kB / 4.523 GB, free: 77.91 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.008334/18.33, allocations: 3.157 MB / 4.526 GB, free: 76.72 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0421/18.37, allocations: 4.426 MB / 4.53 GB, free: 76.02 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05762/18.43, allocations: 22.5 MB / 4.552 GB, free: 65.77 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01385/18.44, allocations: 6.086 MB / 4.558 GB, free: 63.78 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.02529/18.47, allocations: 4.238 MB / 4.563 GB, free: 63.45 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004772/18.47, allocations: 0.6107 MB / 4.563 GB, free: 63.41 MB / 0.9792 GB Notification: Performance of SimCode: time 1.553e-06/18.47, allocations: 0 / 4.563 GB, free: 63.41 MB / 0.9792 GB Notification: Performance of Templates: time 1.194/19.67, allocations: 158.1 MB / 4.718 GB, free: 90.97 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)