Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.646/1.646, allocations: 288.4 MB / 303.4 MB, free: 8.172 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.0009847/0.0009846, allocations: 191 kB / 372 MB, free: 10.27 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.549/1.549, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.001/0.001, allocations: 88.64 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006096/0.0006097, allocations: 11.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2616, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.02969/0.2913, allocations: 34.92 MB / 1.014 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.3099, allocations: 11.77 MB / 1.025 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.3122, allocations: 47.62 kB / 1.025 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.3137, allocations: 417.2 kB / 1.026 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004287/0.318, allocations: 1.26 MB / 1.027 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.3214, allocations: 0.958 MB / 1.028 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009781/0.3312, allocations: 8.878 MB / 1.036 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004496/0.3358, allocations: 2.743 MB / 1.039 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005351/0.3411, allocations: 2.128 MB / 1.041 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004841/0.346, allocations: 2.143 MB / 1.043 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006606/0.3467, allocations: 132 kB / 1.043 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.3499, allocations: 0.7837 MB / 1.044 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007518/0.3507, allocations: 0.5991 MB / 1.045 GB, free: 8.707 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.3522, allocations: 0.6408 MB / 1.045 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005163/0.3574, allocations: 3.979 MB / 1.049 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.3574, allocations: 8 kB / 1.049 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3574, allocations: 0 / 1.049 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001488/0.3576, allocations: 0 / 1.049 GB, free: 4.062 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.007248/0.3648, allocations: 3 MB / 1.052 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.3649, allocations: 15.97 kB / 1.052 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.3663, allocations: 360 kB / 1.053 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005258/0.3715, allocations: 2.497 MB / 1.055 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.3717, allocations: 184.6 kB / 1.055 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/0.3721, allocations: 239.9 kB / 1.055 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006461/0.3786, allocations: 3.214 MB / 1.059 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/0.3787, allocations: 4 kB / 1.059 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/0.379, allocations: 104 kB / 1.059 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.44e-05/0.379, allocations: 60 kB / 1.059 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004425/0.3835, allocations: 2.57 MB / 1.061 GB, free: 7.555 MB / 0.6823 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.5118/0.8953, allocations: 13.74 MB / 1.075 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003354/0.8987, allocations: 1.614 MB / 1.076 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.9008, allocations: 1.183 MB / 1.077 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007566/0.9016, allocations: 0.7272 MB / 1.078 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.9016, allocations: 49.7 kB / 1.078 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001521/0.9032, allocations: 182.3 kB / 1.078 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 6.752e-06/0.9032, allocations: 3.391 kB / 1.078 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.01119/0.9144, allocations: 3.447 MB / 1.082 GB, free: 79.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.9145, allocations: 144 kB / 1.082 GB, free: 78.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004435/0.9189, allocations: 1.942 MB / 1.084 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.9192, allocations: 58.41 kB / 1.084 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.9206, allocations: 1.256 MB / 1.085 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/0.9211, allocations: 443.9 kB / 1.085 GB, free: 76.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.9212, allocations: 30.94 kB / 1.085 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.9214, allocations: 374.6 kB / 1.086 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.9228, allocations: 0.7277 MB / 1.087 GB, free: 76.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.9245, allocations: 1.243 MB / 1.088 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.9263, allocations: 0.9478 MB / 1.089 GB, free: 75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.9264, allocations: 4.094 kB / 1.089 GB, free: 75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004679/0.931, allocations: 2.408 MB / 1.091 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003209/0.9314, allocations: 0.5003 MB / 1.091 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/0.9314, allocations: 14.03 kB / 1.092 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/0.9339, allocations: 0.5131 MB / 1.092 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.9353, allocations: 354.5 kB / 1.092 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/0.9401, allocations: 3.134 MB / 1.095 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00379/0.9439, allocations: 231.1 kB / 1.096 GB, free: 70.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003714/0.9443, allocations: 83.62 kB / 1.096 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.9444, allocations: 3.906 kB / 1.096 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00736/0.9517, allocations: 2.178 MB / 1.098 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.659e-05/0.9518, allocations: 14.22 kB / 1.098 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.953, allocations: 249.5 kB / 1.098 GB, free: 69.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/0.9556, allocations: 372.4 kB / 1.098 GB, free: 69.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006748/0.9623, allocations: 4.176 MB / 1.103 GB, free: 66.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/0.9662, allocations: 223.8 kB / 1.103 GB, free: 66.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004418/0.9667, allocations: 83.52 kB / 1.103 GB, free: 66.38 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.003863/0.9705, allocations: 0.9976 MB / 1.104 GB, free: 65.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/0.972, allocations: 208.2 kB / 1.104 GB, free: 65.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006131/0.9781, allocations: 2.063 MB / 1.106 GB, free: 64.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.591e-05/0.9782, allocations: 12.94 kB / 1.106 GB, free: 64.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.9782, allocations: 2.406 kB / 1.106 GB, free: 64.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004081/0.9823, allocations: 1.656 MB / 1.108 GB, free: 64.02 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.9964, allocations: 4.685 MB / 1.112 GB, free: 61.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.9964, allocations: 1.406 kB / 1.112 GB, free: 61.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.9977, allocations: 198.6 kB / 1.112 GB, free: 61.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/1, allocations: 462.5 kB / 1.113 GB, free: 60.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/1, allocations: 31.45 kB / 1.113 GB, free: 60.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/1.003, allocations: 3.06 MB / 1.116 GB, free: 58.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.003, allocations: 6.781 kB / 1.116 GB, free: 58.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/1.009, allocations: 2.988 MB / 1.119 GB, free: 56.56 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/1.01, allocations: 0.5118 MB / 1.119 GB, free: 56.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006965/1.011, allocations: 33.17 kB / 1.119 GB, free: 56.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/1.013, allocations: 200.4 kB / 1.12 GB, free: 56.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/1.013, allocations: 103.3 kB / 1.12 GB, free: 56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/1.014, allocations: 59.7 kB / 1.12 GB, free: 55.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002875/1.017, allocations: 1.324 MB / 1.121 GB, free: 55.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/1.017, allocations: 1.375 kB / 1.121 GB, free: 55.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00648/1.023, allocations: 1.481 MB / 1.122 GB, free: 54.91 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/1.024, allocations: 369.2 kB / 1.123 GB, free: 54.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005936/1.03, allocations: 3.36 MB / 1.126 GB, free: 52.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.03, allocations: 0 / 1.126 GB, free: 52.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/1.032, allocations: 1.025 MB / 1.127 GB, free: 52.35 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007546/1.039, allocations: 1.165 MB / 1.128 GB, free: 51.78 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/1.049, allocations: 6.273 MB / 1.134 GB, free: 46.02 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/1.051, allocations: 2.152 MB / 1.136 GB, free: 43.84 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003328/1.055, allocations: 0.9365 MB / 1.137 GB, free: 42.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007083/1.055, allocations: 179.3 kB / 1.137 GB, free: 42.73 MB / 0.6823 GB Notification: Performance of SimCode: time 1.684e-06/1.055, allocations: 0 / 1.137 GB, free: 42.73 MB / 0.6823 GB Notification: Performance of Templates: time 0.06442/1.12, allocations: 44.86 MB / 1.181 GB, free: 14.27 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)