Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.358/2.358, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 178.8 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.614/2.614, allocations: 205.4 MB / 0.5766 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 97.14 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006367/0.0006368, allocations: 13.12 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2178, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.04464/0.2625, allocations: 31.87 MB / 0.93 GB, free: 33.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02182/0.2844, allocations: 11.05 MB / 0.9408 GB, free: 22.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.2865, allocations: 47.62 kB / 0.9408 GB, free: 22.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.2893, allocations: 0.657 MB / 0.9415 GB, free: 21.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006277/0.2957, allocations: 1.548 MB / 0.943 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.009963/0.3056, allocations: 2.515 MB / 0.9454 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007788/0.3135, allocations: 4.431 MB / 0.9498 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004525/0.318, allocations: 2.736 MB / 0.9524 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004257/0.3224, allocations: 1.826 MB / 0.9542 GB, free: 8.672 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003369/0.3258, allocations: 1.54 MB / 0.9557 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006602/0.3265, allocations: 132 kB / 0.9559 GB, free: 6.996 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.3298, allocations: 0.6671 MB / 0.9565 GB, free: 6.328 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008977/0.3307, allocations: 0.5643 MB / 0.9571 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.3319, allocations: 0.6408 MB / 0.9577 GB, free: 5.113 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005973/0.3379, allocations: 3.889 MB / 0.9615 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3379, allocations: 0 / 0.9615 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.166e-06/0.338, allocations: 0 / 0.9615 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001748/0.3381, allocations: 3.938 kB / 0.9615 GB, free: 1.211 MB / 0.6042 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.009581/0.3477, allocations: 2.985 MB / 0.9644 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3478, allocations: 8.031 kB / 0.9644 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.3498, allocations: 352.1 kB / 0.9647 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007687/0.3575, allocations: 2.345 MB / 0.967 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002839/0.3579, allocations: 176.6 kB / 0.9672 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008945/0.3588, allocations: 239.9 kB / 0.9674 GB, free: 11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.3691, allocations: 3.175 MB / 0.9705 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.3693, allocations: 7.938 kB / 0.9705 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004735/0.3698, allocations: 99.95 kB / 0.9706 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/0.3699, allocations: 64 kB / 0.9707 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008874/0.3788, allocations: 2.57 MB / 0.9732 GB, free: 4.926 MB / 0.6198 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.03116/0.41, allocations: 13.8 MB / 0.9867 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004999/0.415, allocations: 1.615 MB / 0.9883 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.4164, allocations: 0.7244 MB / 0.989 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.13e-05/0.4165, allocations: 47.56 kB / 0.989 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002257/0.4188, allocations: 191.2 kB / 0.9892 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=126): time 7.454e-06/0.4188, allocations: 7.938 kB / 0.9892 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=126): time 0.01607/0.4349, allocations: 3.392 MB / 0.9925 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.4351, allocations: 149.5 kB / 0.9927 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00507/0.4402, allocations: 2.087 MB / 0.9947 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003902/0.4406, allocations: 57.7 kB / 0.9948 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001916/0.4425, allocations: 1.254 MB / 0.996 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009423/0.4435, allocations: 445.7 kB / 0.9964 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.4437, allocations: 36 kB / 0.9964 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002809/0.444, allocations: 373.9 kB / 0.9968 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/0.4463, allocations: 0.73 MB / 0.9975 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/0.4493, allocations: 1.24 MB / 0.9987 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/0.4522, allocations: 0.951 MB / 0.9996 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.131e-05/0.4523, allocations: 4 kB / 0.9996 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007747/0.46, allocations: 2.421 MB / 1.002 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.002783/0.4629, allocations: 5.701 MB / 1.008 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.217e-05/0.463, allocations: 16 kB / 1.008 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003401/0.4664, allocations: 0.4901 MB / 1.008 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/0.4692, allocations: 351.4 kB / 1.008 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005688/0.4749, allocations: 3.151 MB / 1.011 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/0.4787, allocations: 235.4 kB / 1.012 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004353/0.4792, allocations: 79.98 kB / 1.012 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4792, allocations: 4 kB / 1.012 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006792/0.486, allocations: 2.196 MB / 1.014 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-05/0.4861, allocations: 16 kB / 1.014 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.4872, allocations: 249.5 kB / 1.014 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/0.4901, allocations: 363.4 kB / 1.015 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00723/0.4974, allocations: 4.216 MB / 1.019 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/0.5009, allocations: 227.5 kB / 1.019 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004801/0.5015, allocations: 84.05 kB / 1.019 GB, free: 3.535 MB / 0.6667 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.002744/0.5042, allocations: 0.994 MB / 1.02 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008302/0.5051, allocations: 209.4 kB / 1.02 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006578/0.5117, allocations: 2.077 MB / 1.022 GB, free: 248 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.28e-05/0.5118, allocations: 12 kB / 1.022 GB, free: 236 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.5118, allocations: 4 kB / 1.022 GB, free: 232 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00495/0.5168, allocations: 1.671 MB / 1.024 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.5314, allocations: 4.668 MB / 1.028 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.5314, allocations: 3.953 kB / 1.028 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/0.5334, allocations: 199.8 kB / 1.029 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002599/0.5361, allocations: 442.6 kB / 1.029 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/0.5364, allocations: 35.98 kB / 1.029 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004969/0.5414, allocations: 3.072 MB / 1.032 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5414, allocations: 3.984 kB / 1.032 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008379/0.5498, allocations: 3.047 MB / 1.035 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/0.5519, allocations: 0.5334 MB / 1.036 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000673/0.5526, allocations: 32.08 kB / 1.036 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003259/0.5559, allocations: 205.1 kB / 1.036 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004772/0.5564, allocations: 113 kB / 1.036 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/0.5567, allocations: 55.95 kB / 1.036 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003728/0.5604, allocations: 1.447 MB / 1.037 GB, free: 356 kB / 0.6823 GB Notification: Performance of sort global known variables: time 8.22e-07/0.5605, allocations: 0 / 1.037 GB, free: 356 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007176/0.5677, allocations: 1.484 MB / 1.039 GB, free: 14.86 MB / 0.698 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.00145/0.5692, allocations: 373 kB / 1.039 GB, free: 14.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009881/0.5791, allocations: 3.373 MB / 1.042 GB, free: 11.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.5791, allocations: 4.562 kB / 1.042 GB, free: 11.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002912/0.582, allocations: 1.024 MB / 1.043 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009608/0.5917, allocations: 1.142 MB / 1.045 GB, free: 8.918 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/0.6076, allocations: 6.283 MB / 1.051 GB, free: 2.594 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003448/0.6112, allocations: 2.202 MB / 1.053 GB, free: 368 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.5712/1.182, allocations: 0.9482 MB / 1.054 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.183, allocations: 178.2 kB / 1.054 GB, free: 139.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.593e-06/1.183, allocations: 0 / 1.054 GB, free: 139.3 MB / 0.698 GB Notification: Performance of Templates: time 0.1179/1.301, allocations: 45.03 MB / 1.098 GB, free: 117.5 MB / 0.698 GB