Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.662/1.662, allocations: 287.5 MB / 302.6 MB, free: 8.297 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.000873/0.0008732, allocations: 181.9 kB / 371.2 MB, free: 10.84 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.555/1.555, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0008306/0.0008304, allocations: 104.2 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004233, allocations: 11.7 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2558, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.05058/0.3065, allocations: 34.91 MB / 1.013 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02915/0.3357, allocations: 11.77 MB / 1.024 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003693/0.3395, allocations: 47.69 kB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.3424, allocations: 417.2 kB / 1.025 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007724/0.3502, allocations: 1.26 MB / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005336/0.3555, allocations: 0.9562 MB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0161/0.3716, allocations: 8.922 MB / 1.036 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009203/0.3809, allocations: 3.049 MB / 1.039 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00777/0.3887, allocations: 2.128 MB / 1.041 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006108/0.3949, allocations: 2.143 MB / 1.043 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.3962, allocations: 132 kB / 1.043 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004921/0.4011, allocations: 0.7838 MB / 1.044 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001782/0.4029, allocations: 0.5952 MB / 1.044 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.4055, allocations: 0.6485 MB / 1.045 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.007872/0.4134, allocations: 3.982 MB / 1.049 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4135, allocations: 0 / 1.049 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4135, allocations: 0 / 1.049 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000226/0.4137, allocations: 0 / 1.049 GB, free: 4.23 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.008037/0.4218, allocations: 2.973 MB / 1.052 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4218, allocations: 8.031 kB / 1.052 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.4236, allocations: 360.7 kB / 1.052 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006527/0.4302, allocations: 2.577 MB / 1.054 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/0.4305, allocations: 176.6 kB / 1.055 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009505/0.4314, allocations: 239.9 kB / 1.055 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008082/0.4395, allocations: 3.218 MB / 1.058 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.98e-05/0.4396, allocations: 8 kB / 1.058 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000427/0.4401, allocations: 92 kB / 1.058 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.632e-05/0.4402, allocations: 71.92 kB / 1.058 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005139/0.4453, allocations: 2.574 MB / 1.061 GB, free: 7.668 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.543/0.9883, allocations: 13.75 MB / 1.074 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/0.9915, allocations: 1.62 MB / 1.076 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.9935, allocations: 1.176 MB / 1.077 GB, free: 80.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007986/0.9943, allocations: 0.7232 MB / 1.078 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.9944, allocations: 54.05 kB / 1.078 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001621/0.996, allocations: 187.7 kB / 1.078 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 6.903e-06/0.996, allocations: 0 / 1.078 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.0107/1.007, allocations: 3.479 MB / 1.081 GB, free: 79.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/1.007, allocations: 143.2 kB / 1.081 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003724/1.011, allocations: 1.942 MB / 1.083 GB, free: 78.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002397/1.011, allocations: 55.77 kB / 1.083 GB, free: 78.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001321/1.012, allocations: 1.252 MB / 1.085 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004843/1.013, allocations: 447.5 kB / 1.085 GB, free: 76.85 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/1.013, allocations: 30.94 kB / 1.085 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.013, allocations: 373.6 kB / 1.085 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/1.014, allocations: 0.7315 MB / 1.086 GB, free: 76.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/1.016, allocations: 1.233 MB / 1.087 GB, free: 75.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/1.019, allocations: 2.027 MB / 1.089 GB, free: 74.19 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/1.019, allocations: 4.531 kB / 1.089 GB, free: 74.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004554/1.023, allocations: 2.409 MB / 1.092 GB, free: 73.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003045/1.024, allocations: 0.5007 MB / 1.092 GB, free: 72.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/1.024, allocations: 14.09 kB / 1.092 GB, free: 72.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/1.026, allocations: 0.5199 MB / 1.093 GB, free: 72.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.027, allocations: 347.6 kB / 1.093 GB, free: 72.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/1.031, allocations: 3.133 MB / 1.096 GB, free: 70.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/1.033, allocations: 228.6 kB / 1.096 GB, free: 69.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/1.033, allocations: 83.92 kB / 1.096 GB, free: 69.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.033, allocations: 4.531 kB / 1.096 GB, free: 69.94 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003766/1.037, allocations: 2.181 MB / 1.098 GB, free: 69.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/1.037, allocations: 14.8 kB / 1.098 GB, free: 69.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006987/1.038, allocations: 243.8 kB / 1.099 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/1.039, allocations: 365.6 kB / 1.099 GB, free: 69.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004643/1.044, allocations: 4.185 MB / 1.103 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/1.047, allocations: 218.3 kB / 1.103 GB, free: 65.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/1.047, allocations: 81.86 kB / 1.103 GB, free: 65.57 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.002565/1.05, allocations: 1.01 MB / 1.104 GB, free: 65.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006557/1.05, allocations: 205.2 kB / 1.105 GB, free: 64.94 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/1.054, allocations: 2.062 MB / 1.107 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/1.054, allocations: 16.38 kB / 1.107 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.054, allocations: 2.062 kB / 1.107 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002539/1.057, allocations: 1.657 MB / 1.108 GB, free: 63.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008547/1.065, allocations: 4.683 MB / 1.113 GB, free: 60.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/1.065, allocations: 1.969 kB / 1.113 GB, free: 60.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009052/1.066, allocations: 210.7 kB / 1.113 GB, free: 60.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/1.068, allocations: 450.7 kB / 1.113 GB, free: 60.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.612e-05/1.068, allocations: 36.44 kB / 1.113 GB, free: 60.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/1.071, allocations: 3.05 MB / 1.116 GB, free: 58.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.071, allocations: 1.094 kB / 1.116 GB, free: 58.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004773/1.076, allocations: 2.986 MB / 1.119 GB, free: 56.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/1.077, allocations: 0.5159 MB / 1.12 GB, free: 56 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/1.078, allocations: 32.59 kB / 1.12 GB, free: 55.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.079, allocations: 198.5 kB / 1.12 GB, free: 55.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/1.079, allocations: 112.1 kB / 1.12 GB, free: 55.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.079, allocations: 59.69 kB / 1.12 GB, free: 55.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002125/1.082, allocations: 1.328 MB / 1.122 GB, free: 55.06 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.21e-07/1.082, allocations: 5.031 kB / 1.122 GB, free: 55.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004866/1.086, allocations: 1.476 MB / 1.123 GB, free: 54.73 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.0008389/1.087, allocations: 360 kB / 1.123 GB, free: 54.56 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004953/1.092, allocations: 3.365 MB / 1.127 GB, free: 52.74 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.092, allocations: 3.719 kB / 1.127 GB, free: 52.74 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/1.094, allocations: 1.017 MB / 1.128 GB, free: 52.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005537/1.099, allocations: 1.139 MB / 1.129 GB, free: 51.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008877/1.108, allocations: 6.284 MB / 1.135 GB, free: 45.55 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/1.11, allocations: 2.16 MB / 1.137 GB, free: 43.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003289/1.113, allocations: 0.9321 MB / 1.138 GB, free: 42.44 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/1.113, allocations: 171.3 kB / 1.138 GB, free: 42.27 MB / 0.6823 GB Notification: Performance of SimCode: time 8.81e-07/1.113, allocations: 0 / 1.138 GB, free: 42.27 MB / 0.6823 GB Notification: Performance of Templates: time 0.06614/1.18, allocations: 44.93 MB / 1.182 GB, free: 13.73 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)