Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.56/2.56, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 184.5 kB / 360.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.3 MB / 0.6192 GB, free: 12.1 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 91.5 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.466e-05, allocations: 4 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8558, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.252/2.108, allocations: 426.5 MB / 1.38 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/2.108, allocations: 99.12 kB / 1.38 GB, free: 142 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.204/7.312, allocations: 0.9656 GB / 2.346 GB, free: 213.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/7.312, allocations: 0 / 2.346 GB, free: 213.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005241/7.313, allocations: 76.14 kB / 2.346 GB, free: 213.9 MB / 0.948 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.01114/7.324, allocations: 2.693 MB / 2.348 GB, free: 212.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/7.324, allocations: 9.688 kB / 2.348 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/7.327, allocations: 351.4 kB / 2.349 GB, free: 212.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/7.338, allocations: 3.03 MB / 2.352 GB, free: 212.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/7.339, allocations: 74.22 kB / 2.352 GB, free: 212.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/7.34, allocations: 141.3 kB / 2.352 GB, free: 212.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006984/7.347, allocations: 2.21 MB / 2.354 GB, free: 212.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00867/7.355, allocations: 2.658 MB / 2.357 GB, free: 212 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.942e-05/7.355, allocations: 5.188 kB / 2.357 GB, free: 212 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003938/7.356, allocations: 5.969 kB / 2.357 GB, free: 212 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.541e-05/7.356, allocations: 66.48 kB / 2.357 GB, free: 212 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.02683/7.383, allocations: 12.56 MB / 2.369 GB, free: 205.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/7.387, allocations: 1.559 MB / 2.37 GB, free: 205.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002788/7.39, allocations: 1.099 MB / 2.371 GB, free: 205.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/7.391, allocations: 0.7204 MB / 2.372 GB, free: 205 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/7.391, allocations: 49.34 kB / 2.372 GB, free: 204.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002751/7.394, allocations: 200.7 kB / 2.372 GB, free: 204.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 1.157e-05/7.394, allocations: 1.219 kB / 2.372 GB, free: 204.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.005574/7.399, allocations: 1.636 MB / 2.374 GB, free: 204.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/7.4, allocations: 142 kB / 2.374 GB, free: 204.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004506/7.404, allocations: 1.73 MB / 2.376 GB, free: 204.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004991/7.405, allocations: 29.39 kB / 2.376 GB, free: 204.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001661/7.406, allocations: 1.253 MB / 2.377 GB, free: 203.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008645/7.407, allocations: 426.2 kB / 2.378 GB, free: 203.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/7.407, allocations: 0 / 2.378 GB, free: 203.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001501/7.408, allocations: 368.8 kB / 2.378 GB, free: 203.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/7.409, allocations: 0.6577 MB / 2.379 GB, free: 203.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/7.411, allocations: 1.182 MB / 2.38 GB, free: 202.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/7.414, allocations: 0.9074 MB / 2.381 GB, free: 202.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.582e-05/7.414, allocations: 2.969 kB / 2.381 GB, free: 202.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006994/7.421, allocations: 2.167 MB / 2.383 GB, free: 202.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001291/7.423, allocations: 5.691 MB / 2.388 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-05/7.423, allocations: 15.48 kB / 2.388 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002781/7.426, allocations: 431.2 kB / 2.389 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/7.429, allocations: 361.1 kB / 2.389 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004644/7.433, allocations: 2.988 MB / 2.392 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004048/7.437, allocations: 201.5 kB / 2.392 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004908/7.438, allocations: 85.45 kB / 2.392 GB, free: 194.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/7.438, allocations: 3.844 kB / 2.392 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005907/7.444, allocations: 1.903 MB / 2.394 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.203e-05/7.444, allocations: 18.73 kB / 2.394 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008579/7.445, allocations: 209.1 kB / 2.394 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/7.448, allocations: 374.3 kB / 2.395 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005433/7.453, allocations: 3.76 MB / 2.398 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/7.457, allocations: 185.9 kB / 2.398 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005221/7.458, allocations: 85.67 kB / 2.399 GB, free: 191.9 MB / 0.948 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,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 180 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006788/7.459, allocations: 152.8 kB / 2.399 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008989/7.459, allocations: 203.8 kB / 2.399 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006046/7.466, allocations: 1.861 MB / 2.401 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/7.466, allocations: 16.84 kB / 2.401 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/7.466, allocations: 2.125 kB / 2.401 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004428/7.47, allocations: 1.504 MB / 2.402 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/7.485, allocations: 4.141 MB / 2.406 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/7.485, allocations: 1.688 kB / 2.406 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/7.487, allocations: 214.7 kB / 2.406 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002646/7.489, allocations: 406.2 kB / 2.407 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003134/7.49, allocations: 17.33 kB / 2.407 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004151/7.494, allocations: 2.923 MB / 2.41 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/7.494, allocations: 8.219 kB / 2.41 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007456/7.501, allocations: 2.848 MB / 2.413 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/7.504, allocations: 0.5238 MB / 2.413 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000899/7.505, allocations: 10.69 kB / 2.413 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003471/7.508, allocations: 160.2 kB / 2.413 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005281/7.509, allocations: 102.7 kB / 2.413 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002483/7.509, allocations: 57.75 kB / 2.413 GB, free: 188.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003143/7.512, allocations: 1.307 MB / 2.415 GB, free: 188.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.11e-07/7.512, allocations: 0 / 2.415 GB, free: 188.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008485/7.521, allocations: 1.462 MB / 2.416 GB, free: 188.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001781/7.523, allocations: 0.5601 MB / 2.417 GB, free: 188 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007871/7.531, allocations: 3.098 MB / 2.42 GB, free: 187.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/7.531, allocations: 5.812 kB / 2.42 GB, free: 187.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002241/7.533, allocations: 0.9158 MB / 2.421 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009767/7.543, allocations: 1.077 MB / 2.422 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/7.556, allocations: 4.21 MB / 2.426 GB, free: 186.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/7.559, allocations: 2.207 MB / 2.428 GB, free: 185.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007904/7.567, allocations: 1.369 MB / 2.429 GB, free: 185.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008204/7.568, allocations: 133.8 kB / 2.429 GB, free: 185.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.252e-06/7.568, allocations: 3.812 kB / 2.429 GB, free: 185.8 MB / 0.948 GB Notification: Performance of Templates: time 0.1116/7.68, allocations: 45.39 MB / 2.474 GB, free: 183.4 MB / 0.948 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)