Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 288.3 MB / 303.2 MB, free: 8.074 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.001085/0.001085, allocations: 181 kB / 371.8 MB, free: 10.28 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.752/1.752, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.001017/0.001018, allocations: 103.4 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004096, allocations: 10.84 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.251, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.33, allocations: 411.5 MB / 1.381 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/1.33, allocations: 93.81 kB / 1.381 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 11.35/12.68, allocations: 2.924 GB / 4.305 GB, free: 6.785 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.486e-06/12.68, allocations: 4 kB / 4.305 GB, free: 6.781 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002299/12.68, allocations: 259.7 kB / 4.306 GB, free: 6.527 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 1.52/14.2, allocations: 9.801 MB / 4.315 GB, free: 121.8 MB / 0.9793 GB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/14.2, allocations: 9.547 kB / 4.315 GB, free: 121.8 MB / 0.9793 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/14.21, allocations: 1.168 MB / 4.316 GB, free: 121.2 MB / 0.9793 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04069/14.25, allocations: 10.79 MB / 4.327 GB, free: 120.6 MB / 0.9793 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/14.25, allocations: 0.6153 MB / 4.328 GB, free: 120.5 MB / 0.9793 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005609/14.26, allocations: 0.816 MB / 4.328 GB, free: 120.5 MB / 0.9793 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04731/14.3, allocations: 11.71 MB / 4.34 GB, free: 119.3 MB / 0.9793 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005023/14.31, allocations: 29.77 kB / 4.34 GB, free: 119.3 MB / 0.9793 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003705/14.31, allocations: 359.2 kB / 4.34 GB, free: 119.3 MB / 0.9793 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003486/14.31, allocations: 251.3 kB / 4.34 GB, free: 119.3 MB / 0.9793 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02939/14.34, allocations: 9.635 MB / 4.35 GB, free: 119.3 MB / 0.9793 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.1153/14.45, allocations: 46.6 MB / 4.395 GB, free: 100.2 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/14.47, allocations: 6.323 MB / 4.402 GB, free: 99.92 MB / 0.9793 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001645/14.47, allocations: 0.8231 MB / 4.402 GB, free: 99.16 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00952/14.48, allocations: 3.399 MB / 4.406 GB, free: 99 MB / 0.9793 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008103/14.49, allocations: 0.5561 MB / 4.406 GB, free: 98.7 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=449): time 4.372e-05/14.49, allocations: 0 / 4.406 GB, free: 98.7 MB / 0.9793 GB Notification: Performance of matching and sorting (n=449): time 0.02333/14.51, allocations: 9.021 MB / 4.415 GB, free: 97.93 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/14.51, allocations: 154 kB / 4.415 GB, free: 97.8 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01995/14.53, allocations: 7.089 MB / 4.422 GB, free: 97.37 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.001901/14.53, allocations: 114 kB / 4.422 GB, free: 97.34 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.00793/14.54, allocations: 4.286 MB / 4.426 GB, free: 95.72 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.003714/14.54, allocations: 1.549 MB / 4.428 GB, free: 94.75 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/14.55, allocations: 119.8 kB / 4.428 GB, free: 94.75 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0009239/14.55, allocations: 0.5445 MB / 4.429 GB, free: 94.43 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006831/14.55, allocations: 2.985 MB / 4.431 GB, free: 94.41 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008108/14.56, allocations: 4.859 MB / 4.436 GB, free: 92.21 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008045/14.57, allocations: 4.022 MB / 4.44 GB, free: 92.11 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/14.57, allocations: 18.47 kB / 4.44 GB, free: 92.11 MB / 0.9793 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02544/14.6, allocations: 8.851 MB / 4.449 GB, free: 91.57 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.008828/14.6, allocations: 29.08 MB / 4.477 GB, free: 61.38 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002633/14.6, allocations: 62.92 kB / 4.477 GB, free: 61.38 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002192/14.6, allocations: 98.38 kB / 4.477 GB, free: 61.38 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007901/14.61, allocations: 1.443 MB / 4.479 GB, free: 61.38 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002388/14.61, allocations: 127 kB / 4.479 GB, free: 61.38 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/14.62, allocations: 0.6286 MB / 4.479 GB, free: 61.32 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002133/14.63, allocations: 283.8 kB / 4.48 GB, free: 61.32 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/14.63, allocations: 2.844 kB / 4.48 GB, free: 61.32 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02048/14.65, allocations: 8.268 MB / 4.488 GB, free: 61.16 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002837/14.65, allocations: 57.47 kB / 4.488 GB, free: 61.16 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/14.65, allocations: 99.06 kB / 4.488 GB, free: 61.16 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00704/14.65, allocations: 1.429 MB / 4.489 GB, free: 61.16 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002244/14.66, allocations: 132.8 kB / 4.489 GB, free: 61.16 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01059/14.67, allocations: 0.6062 MB / 4.49 GB, free: 61.11 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002119/14.67, allocations: 282 kB / 4.49 GB, free: 61.11 MB / 0.9793 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.01276/14.68, allocations: 3.556 MB / 4.494 GB, free: 60.82 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004676/14.69, allocations: 0.7076 MB / 4.495 GB, free: 60.46 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0191/14.7, allocations: 7.114 MB / 4.501 GB, free: 60.17 MB / 0.9793 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.093e-05/14.7, allocations: 45.88 kB / 4.502 GB, free: 60.17 MB / 0.9793 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/14.7, allocations: 6.125 kB / 4.502 GB, free: 60.17 MB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01088/14.72, allocations: 5.817 MB / 4.507 GB, free: 59.95 MB / 0.9793 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.05214/14.77, allocations: 16.39 MB / 4.523 GB, free: 57.72 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/14.77, allocations: 3.625 kB / 4.523 GB, free: 57.72 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00503/14.77, allocations: 0.9065 MB / 4.524 GB, free: 57.69 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.448e-05/14.77, allocations: 13.62 kB / 4.524 GB, free: 57.69 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001129/14.77, allocations: 119.3 kB / 4.524 GB, free: 57.63 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.369e-05/14.77, allocations: 14.94 kB / 4.524 GB, free: 57.63 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/14.77, allocations: 1.719 kB / 4.524 GB, free: 57.63 MB / 0.9793 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02117/14.8, allocations: 10.77 MB / 4.535 GB, free: 53.21 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009058/14.8, allocations: 1.749 MB / 4.536 GB, free: 52.31 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004499/14.81, allocations: 93.58 kB / 4.537 GB, free: 52.25 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009847/14.82, allocations: 0.5822 MB / 4.537 GB, free: 52.16 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/14.82, allocations: 248 kB / 4.537 GB, free: 52.12 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001589/14.82, allocations: 211.9 kB / 4.538 GB, free: 52.08 MB / 0.9793 GB Notification: Performance of sorting global known variables: time 0.01542/14.84, allocations: 5.54 MB / 4.543 GB, free: 50.21 MB / 0.9793 GB Notification: Performance of sort global known variables: time 7.51e-07/14.84, allocations: 0 / 4.543 GB, free: 50.21 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.02895/14.87, allocations: 4.921 MB / 4.548 GB, free: 49.23 MB / 0.9793 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.004716/14.87, allocations: 0.9353 MB / 4.549 GB, free: 48.99 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.03054/14.9, allocations: 11.46 MB / 4.56 GB, free: 45.12 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/14.9, allocations: 7.719 kB / 4.56 GB, free: 45.12 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.007167/14.91, allocations: 3.199 MB / 4.563 GB, free: 43.9 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02684/14.94, allocations: 4.389 MB / 4.567 GB, free: 43.21 MB / 0.9793 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05882/14.99, allocations: 22.46 MB / 4.589 GB, free: 33 MB / 0.9793 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009683/15, allocations: 6.252 MB / 4.595 GB, free: 31.02 MB / 0.9793 GB Notification: Performance of simCode: alias equations: time 0.0172/15.02, allocations: 4.344 MB / 4.6 GB, free: 30.68 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003355/15.03, allocations: 0.6137 MB / 4.6 GB, free: 30.63 MB / 0.9793 GB Notification: Performance of SimCode: time 3.878e-06/15.03, allocations: 0 / 4.6 GB, free: 30.63 MB / 0.9793 GB Notification: Performance of Templates: time 1.075/16.1, allocations: 158.6 MB / 4.755 GB, free: 118 MB / 1.011 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)