Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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="mat",numberOfIntervals=5000,variableFilter="time|tan.vol.1..T|tan.vol.3..T|tan.vol.5..T|senTem.T|yBot.u|yMid.u|yTop.u|yHea.u",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan.vol.1..T|tan.vol.3..T|tan.vol.5..T|senTem.T|yBot.u|yMid.u|yTop.u|yHea.u",fileNamePrefix="Buildings_10_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.001087/0.001087, allocations: 115.1 kB / 16.42 MB, free: 6.508 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.001021/0.001021, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.4/2.4, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 60.12 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8729/0.8745, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.0416/0.9161, allocations: 37.78 MB / 1.204 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.9304, allocations: 9.516 MB / 1.213 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.9324, allocations: 43.75 kB / 1.214 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.9344, allocations: 0.5975 MB / 1.214 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.9391, allocations: 1.653 MB / 1.216 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.9425, allocations: 1.253 MB / 1.217 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00962/0.9522, allocations: 8.12 MB / 1.225 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005579/0.9578, allocations: 3.875 MB / 1.229 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006096/0.9639, allocations: 2.89 MB / 1.231 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004336/0.9682, allocations: 2.49 MB / 1.234 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.9694, allocations: 360 kB / 1.234 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003469/0.9728, allocations: 1.194 MB / 1.235 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.9742, allocations: 0.8996 MB / 1.236 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.004332/0.9786, allocations: 1.844 MB / 1.238 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.007719/0.9863, allocations: 5.241 MB / 1.243 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.9863, allocations: 0 / 1.243 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9863, allocations: 0 / 1.243 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000163/0.9865, allocations: 0 / 1.243 GB, free: 5.809 MB / 0.9669 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.007734/0.9942, allocations: 3.737 MB / 1.247 GB, free: 2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.9943, allocations: 11.98 kB / 1.247 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.9953, allocations: 370.8 kB / 1.247 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004279/0.9996, allocations: 2.685 MB / 1.25 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.9998, allocations: 176.6 kB / 1.25 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/1, allocations: 232 kB / 1.25 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005042/1.005, allocations: 3.238 MB / 1.253 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.006e-05/1.005, allocations: 11.89 kB / 1.253 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/1.005, allocations: 92 kB / 1.254 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.948e-05/1.006, allocations: 71.98 kB / 1.254 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004122/1.01, allocations: 2.585 MB / 1.256 GB, free: 8.336 MB / 0.9825 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.01709/1.027, allocations: 13.82 MB / 1.27 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/1.029, allocations: 1.614 MB / 1.271 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/1.031, allocations: 1.146 MB / 1.272 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008188/1.032, allocations: 0.7088 MB / 1.273 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/1.032, allocations: 51.56 kB / 1.273 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001066/1.033, allocations: 151.1 kB / 1.273 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 4.399e-06/1.033, allocations: 0 / 1.273 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126): time 0.009752/1.043, allocations: 3.457 MB / 1.277 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/1.043, allocations: 145.5 kB / 1.277 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/1.046, allocations: 2.074 MB / 1.279 GB, free: 15.83 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001941/1.046, allocations: 57.7 kB / 1.279 GB, free: 15.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.048, allocations: 1.284 MB / 1.28 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/1.048, allocations: 468.1 kB / 1.28 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/1.048, allocations: 347.4 kB / 1.281 GB, free: 13.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/1.049, allocations: 305.1 kB / 1.281 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/1.05, allocations: 0.7464 MB / 1.282 GB, free: 12.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/1.051, allocations: 1.244 MB / 1.283 GB, free: 11.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002668/1.054, allocations: 2.037 MB / 1.285 GB, free: 8.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/1.054, allocations: 15.94 kB / 1.285 GB, free: 8.914 MB / 1.014 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003852/1.058, allocations: 2.45 MB / 1.287 GB, free: 6.449 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.058, allocations: 12.12 kB / 1.287 GB, free: 6.438 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/1.058, allocations: 16 kB / 1.287 GB, free: 6.422 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/1.06, allocations: 0.5189 MB / 1.288 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.061, allocations: 347.4 kB / 1.288 GB, free: 5.559 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003229/1.065, allocations: 3.343 MB / 1.292 GB, free: 2.047 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.066, allocations: 119.9 kB / 1.292 GB, free: 1.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/1.066, allocations: 83.97 kB / 1.292 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002377/1.069, allocations: 1.572 MB / 1.293 GB, free: 280 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001423/1.07, allocations: 1.24 MB / 1.295 GB, free: 14.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002512/1.073, allocations: 2.026 MB / 1.296 GB, free: 12.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.735e-06/1.073, allocations: 4 kB / 1.297 GB, free: 12.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.003939/1.077, allocations: 2.414 MB / 1.299 GB, free: 10.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.077, allocations: 13.72 kB / 1.299 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.077, allocations: 15.98 kB / 1.299 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/1.077, allocations: 237.8 kB / 1.299 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.079, allocations: 367.4 kB / 1.299 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/1.083, allocations: 4.563 MB / 1.304 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/1.085, allocations: 123.8 kB / 1.304 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/1.085, allocations: 83.97 kB / 1.304 GB, free: 4.5 MB / 1.029 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.0005004/1.086, allocations: 291.7 kB / 1.304 GB, free: 4.207 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/1.086, allocations: 226.6 kB / 1.305 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/1.09, allocations: 2.067 MB / 1.307 GB, free: 1.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002395/1.092, allocations: 1.675 MB / 1.308 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/1.092, allocations: 3.984 kB / 1.308 GB, free: 216 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.093, allocations: 0.4919 MB / 1.309 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003101/1.094, allocations: 28 kB / 1.309 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.095, allocations: 87.89 kB / 1.309 GB, free: 15.58 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/1.095, allocations: 101.2 kB / 1.309 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003917/1.099, allocations: 2.123 MB / 1.311 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003974/1.103, allocations: 2.912 MB / 1.314 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001008/1.104, allocations: 0.7948 MB / 1.315 GB, free: 9.629 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001964/1.106, allocations: 1.428 MB / 1.316 GB, free: 8.18 MB / 1.045 GB Notification: Performance of Backend: time 3.91e-07/1.106, allocations: 7.938 kB / 1.316 GB, free: 8.172 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005966/1.112, allocations: 3.134 MB / 1.319 GB, free: 5.012 MB / 1.045 GB Notification: Performance of SimCode: time 0.01103/1.123, allocations: 6.337 MB / 1.325 GB, free: 14.64 MB / 1.061 GB Notification: Performance of Templates: time 0.08295/1.206, allocations: 53.4 MB / 1.377 GB, free: 9.605 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)