Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009502/0.009502, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 473.4 MB / 0.7469 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 9.5 kB / 0.9158 GB, free: 32.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3542, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03541/0.3897, allocations: 36.71 MB / 1.11 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.4044, allocations: 9.472 MB / 1.119 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.4067, allocations: 39.75 kB / 1.119 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.4084, allocations: 477.2 kB / 1.12 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004921/0.4133, allocations: 1.462 MB / 1.121 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.4166, allocations: 1.119 MB / 1.122 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0128/0.4295, allocations: 10.47 MB / 1.132 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004823/0.4343, allocations: 3.061 MB / 1.135 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005049/0.4394, allocations: 2.139 MB / 1.138 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004097/0.4435, allocations: 2.271 MB / 1.14 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005106/0.4441, allocations: 132 kB / 1.14 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.4473, allocations: 0.9358 MB / 1.141 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008003/0.4481, allocations: 0.6185 MB / 1.141 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002723/0.4509, allocations: 1.564 MB / 1.143 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006352/0.4572, allocations: 4.89 MB / 1.148 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4573, allocations: 0 / 1.148 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4573, allocations: 8 kB / 1.148 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001424/0.4574, allocations: 3.938 kB / 1.148 GB, free: 11.85 MB / 0.9044 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.007265/0.4647, allocations: 2.992 MB / 1.151 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.4648, allocations: 8.031 kB / 1.151 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.4661, allocations: 364.9 kB / 1.151 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004894/0.471, allocations: 2.624 MB / 1.154 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.4712, allocations: 180.6 kB / 1.154 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004233/0.4716, allocations: 236 kB / 1.154 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005914/0.4775, allocations: 3.238 MB / 1.157 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.606e-05/0.4776, allocations: 4 kB / 1.157 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.4779, allocations: 96 kB / 1.157 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-05/0.478, allocations: 71.92 kB / 1.157 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00439/0.4824, allocations: 2.582 MB / 1.16 GB, free: 15.2 MB / 0.92 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.0181/0.5005, allocations: 13.77 MB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.5032, allocations: 1.627 MB / 1.175 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.5049, allocations: 1.17 MB / 1.176 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000849/0.5057, allocations: 0.7166 MB / 1.177 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.5058, allocations: 55.5 kB / 1.177 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00154/0.5073, allocations: 192.1 kB / 1.177 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=126): time 5.431e-06/0.5074, allocations: 4 kB / 1.177 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=126): time 0.009894/0.5173, allocations: 3.484 MB / 1.18 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.5174, allocations: 145.5 kB / 1.18 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/0.5203, allocations: 1.999 MB / 1.182 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002201/0.5205, allocations: 53.7 kB / 1.182 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.5217, allocations: 1.258 MB / 1.184 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004975/0.5222, allocations: 437.7 kB / 1.184 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.5224, allocations: 153.6 kB / 1.184 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.5225, allocations: 305.1 kB / 1.185 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.5237, allocations: 0.7378 MB / 1.185 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.5252, allocations: 1.244 MB / 1.186 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.528, allocations: 2.045 MB / 1.188 GB, free: 32 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.528, allocations: 4 kB / 1.188 GB, free: 28 kB / 0.9356 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004093/0.5321, allocations: 2.425 MB / 1.191 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000419/0.5326, allocations: 0.4999 MB / 1.191 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.5326, allocations: 12 kB / 1.191 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/0.5349, allocations: 0.5307 MB / 1.192 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.5362, allocations: 343.6 kB / 1.192 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003434/0.5397, allocations: 3.16 MB / 1.195 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/0.5423, allocations: 231.4 kB / 1.196 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.5425, allocations: 75.98 kB / 1.196 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.5425, allocations: 4 kB / 1.196 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003662/0.5462, allocations: 2.196 MB / 1.198 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.5462, allocations: 16 kB / 1.198 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/0.5469, allocations: 241.6 kB / 1.198 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.5482, allocations: 371.3 kB / 1.198 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004256/0.5525, allocations: 4.169 MB / 1.202 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/0.5548, allocations: 219.6 kB / 1.203 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.555, allocations: 87.91 kB / 1.203 GB, free: 0.8164 MB / 0.9512 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 (onOffHea.y,$PRE.onOffHea.y,yTop.u,and2.y,onOffMid.y,$PRE.onOffMid.y,onOffBot.y,$PRE.onOffBot.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001983/0.557, allocations: 1.014 MB / 1.204 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/0.5576, allocations: 205.5 kB / 1.204 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.5612, allocations: 2.073 MB / 1.206 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.5613, allocations: 20 kB / 1.206 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5613, allocations: 0 / 1.206 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00252/0.5638, allocations: 1.667 MB / 1.208 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008389/0.5722, allocations: 4.697 MB / 1.212 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5723, allocations: 4 kB / 1.212 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008879/0.5731, allocations: 203.7 kB / 1.212 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.5749, allocations: 472.3 kB / 1.213 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.5751, allocations: 31.98 kB / 1.213 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/0.5781, allocations: 3.063 MB / 1.216 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5781, allocations: 0 / 1.216 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004529/0.5827, allocations: 3.003 MB / 1.219 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.584, allocations: 0.5216 MB / 1.219 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.5843, allocations: 28 kB / 1.219 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.5858, allocations: 203.6 kB / 1.219 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.5861, allocations: 97.16 kB / 1.22 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.5863, allocations: 51.97 kB / 1.22 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002052/0.5883, allocations: 1.378 MB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5883, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003985/0.5923, allocations: 1.476 MB / 1.222 GB, free: 12.26 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008974/0.5932, allocations: 384.6 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005324/0.5986, allocations: 3.373 MB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.5986, allocations: 4 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.6001, allocations: 1.016 MB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006157/0.6063, allocations: 1.168 MB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/0.6157, allocations: 6.504 MB / 1.235 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001832/0.6175, allocations: 2.164 MB / 1.237 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003032/0.6206, allocations: 0.9265 MB / 1.238 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/0.6211, allocations: 175.4 kB / 1.238 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of SimCode: time 1.693e-06/0.6211, allocations: 0 / 1.238 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of Templates: time 0.6473/1.268, allocations: 46.01 MB / 1.283 GB, free: 155.5 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)