Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0007989/0.0007989, allocations: 97.64 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.005229/0.005229, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003929, allocations: 7.062 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.342, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03716/0.3792, allocations: 36.71 MB / 1.11 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01545/0.3947, allocations: 9.476 MB / 1.119 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.3973, allocations: 39.75 kB / 1.119 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.3993, allocations: 481.2 kB / 1.12 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.4047, allocations: 1.461 MB / 1.121 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003891/0.4086, allocations: 1.113 MB / 1.122 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01232/0.4209, allocations: 10.47 MB / 1.132 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004765/0.4257, allocations: 3.057 MB / 1.135 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004863/0.4306, allocations: 2.143 MB / 1.138 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004092/0.4348, allocations: 2.275 MB / 1.14 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007627/0.4356, allocations: 132 kB / 1.14 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004218/0.4398, allocations: 0.9318 MB / 1.141 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009709/0.4408, allocations: 0.6185 MB / 1.141 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002949/0.4437, allocations: 1.56 MB / 1.143 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006112/0.4499, allocations: 4.898 MB / 1.148 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4499, allocations: 0 / 1.148 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.855e-06/0.4499, allocations: 0 / 1.148 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001321/0.45, allocations: 0 / 1.148 GB, free: 11.87 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.006604/0.4567, allocations: 2.988 MB / 1.151 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.4567, allocations: 8.031 kB / 1.151 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.458, allocations: 364.9 kB / 1.151 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004614/0.4626, allocations: 2.633 MB / 1.154 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.4628, allocations: 180.6 kB / 1.154 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003884/0.4632, allocations: 232 kB / 1.154 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00552/0.4687, allocations: 3.238 MB / 1.157 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-05/0.4688, allocations: 7.938 kB / 1.157 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/0.469, allocations: 103.9 kB / 1.157 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.847e-05/0.4691, allocations: 67.98 kB / 1.157 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004352/0.4735, allocations: 2.578 MB / 1.16 GB, free: 15.21 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.01789/0.4914, allocations: 13.78 MB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.4941, allocations: 1.622 MB / 1.175 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.4958, allocations: 1.166 MB / 1.176 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008273/0.4966, allocations: 0.7244 MB / 1.177 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.4967, allocations: 51.56 kB / 1.177 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001483/0.4982, allocations: 188.1 kB / 1.177 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=126): time 5.13e-06/0.4982, allocations: 0 / 1.177 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=126): time 0.009575/0.5077, allocations: 3.491 MB / 1.18 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.5079, allocations: 145.5 kB / 1.18 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003043/0.5109, allocations: 1.992 MB / 1.182 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002071/0.5111, allocations: 57.7 kB / 1.182 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.5124, allocations: 1.258 MB / 1.184 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004833/0.5129, allocations: 441.7 kB / 1.184 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.5131, allocations: 149.6 kB / 1.184 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5132, allocations: 305.1 kB / 1.185 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.5144, allocations: 0.7417 MB / 1.185 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.5159, allocations: 1.248 MB / 1.186 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/0.5186, allocations: 2.033 MB / 1.188 GB, free: 48 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.5186, allocations: 12 kB / 1.188 GB, free: 36 kB / 0.9356 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003974/0.5226, allocations: 2.425 MB / 1.191 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003139/0.5229, allocations: 0.5006 MB / 1.191 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.5229, allocations: 23.98 kB / 1.191 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/0.5251, allocations: 0.5186 MB / 1.192 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.5264, allocations: 351.4 kB / 1.192 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.5295, allocations: 3.145 MB / 1.195 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.5319, allocations: 227.4 kB / 1.196 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.532, allocations: 83.97 kB / 1.196 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.5321, allocations: 8 kB / 1.196 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003898/0.536, allocations: 2.191 MB / 1.198 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.536, allocations: 15.98 kB / 1.198 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006458/0.5367, allocations: 245.9 kB / 1.198 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.5381, allocations: 375.3 kB / 1.198 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004615/0.5427, allocations: 4.169 MB / 1.202 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.545, allocations: 223.6 kB / 1.203 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.5452, allocations: 79.92 kB / 1.203 GB, free: 0.8242 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.002199/0.5475, allocations: 1.023 MB / 1.204 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005845/0.548, allocations: 205.5 kB / 1.204 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/0.5518, allocations: 2.065 MB / 1.206 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.5519, allocations: 12 kB / 1.206 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5519, allocations: 4 kB / 1.206 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002726/0.5546, allocations: 1.675 MB / 1.208 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008832/0.5635, allocations: 4.694 MB / 1.212 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.5635, allocations: 4 kB / 1.212 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009071/0.5644, allocations: 199.8 kB / 1.212 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/0.5662, allocations: 464 kB / 1.213 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.5664, allocations: 35.97 kB / 1.213 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/0.5697, allocations: 3.06 MB / 1.216 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5697, allocations: 8.234 kB / 1.216 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005247/0.575, allocations: 2.995 MB / 1.219 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.5764, allocations: 0.5333 MB / 1.219 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.5767, allocations: 28 kB / 1.219 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/0.5783, allocations: 198.5 kB / 1.219 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.5785, allocations: 101.1 kB / 1.22 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.5786, allocations: 59.95 kB / 1.22 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002208/0.5809, allocations: 1.374 MB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5809, allocations: 4 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004243/0.5851, 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.0009804/0.5861, allocations: 382.9 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006001/0.5921, allocations: 3.376 MB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5922, allocations: 0 / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.5939, allocations: 1.013 MB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006634/0.6006, allocations: 1.158 MB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.6125, allocations: 6.51 MB / 1.235 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002058/0.6146, allocations: 2.168 MB / 1.237 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003469/0.6181, allocations: 0.9238 MB / 1.238 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006644/0.6188, allocations: 175.3 kB / 1.238 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/0.6188, allocations: 4 kB / 1.238 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of Templates: time 0.6539/1.273, allocations: 46 MB / 1.283 GB, free: 155.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)