Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.642/1.642, allocations: 285.6 MB / 293.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 176.8 kB / 361.4 MB, free: 6.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007985/0.0007984, allocations: 95.5 kB / 0.733 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.471e-05/1.473e-05, allocations: 4 kB / 0.8517 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6853/0.6853, allocations: 115.3 MB / 0.9644 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.807, allocations: 426.7 MB / 1.381 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/1.807, allocations: 90.27 kB / 1.381 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.924/5.731, allocations: 0.9656 GB / 2.347 GB, free: 213.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.815e-06/5.731, allocations: 1.406 kB / 2.347 GB, free: 213.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006888/5.732, allocations: 76.08 kB / 2.347 GB, free: 213.4 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.01147/5.743, allocations: 2.686 MB / 2.349 GB, free: 212.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/5.743, allocations: 11.38 kB / 2.349 GB, free: 212.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/5.746, allocations: 355.5 kB / 2.35 GB, free: 212.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008985/5.755, allocations: 3.019 MB / 2.353 GB, free: 212 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/5.756, allocations: 76.47 kB / 2.353 GB, free: 212 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/5.757, allocations: 148.2 kB / 2.353 GB, free: 212 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005826/5.763, allocations: 2.2 MB / 2.355 GB, free: 211.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007701/5.77, allocations: 2.662 MB / 2.358 GB, free: 211.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/5.771, allocations: 6.906 kB / 2.358 GB, free: 211.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006439/5.771, allocations: 5.5 kB / 2.358 GB, free: 211.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-05/5.771, allocations: 67.45 kB / 2.358 GB, free: 211.6 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.02338/5.795, allocations: 12.56 MB / 2.37 GB, free: 205.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/5.798, allocations: 1.567 MB / 2.372 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/5.8, allocations: 1.088 MB / 2.373 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008213/5.801, allocations: 0.7162 MB / 2.373 GB, free: 204.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/5.801, allocations: 53.5 kB / 2.373 GB, free: 204.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002549/5.803, allocations: 195.4 kB / 2.374 GB, free: 204.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 1.631e-05/5.803, allocations: 3.719 kB / 2.374 GB, free: 204.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.004669/5.808, allocations: 1.63 MB / 2.375 GB, free: 204.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/5.808, allocations: 147.7 kB / 2.375 GB, free: 204.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005225/5.813, allocations: 1.728 MB / 2.377 GB, free: 203.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004692/5.814, allocations: 28.92 kB / 2.377 GB, free: 203.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001937/5.816, allocations: 1.256 MB / 2.378 GB, free: 203.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008632/5.817, allocations: 426 kB / 2.379 GB, free: 203 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/5.817, allocations: 0 / 2.379 GB, free: 203 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002156/5.817, allocations: 375.8 kB / 2.379 GB, free: 202.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/5.819, allocations: 0.657 MB / 2.38 GB, free: 202.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/5.82, allocations: 1.178 MB / 2.381 GB, free: 202.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/5.823, allocations: 0.9115 MB / 2.382 GB, free: 202.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.433e-05/5.823, allocations: 3.969 kB / 2.382 GB, free: 202.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.005731/5.828, allocations: 2.165 MB / 2.384 GB, free: 201.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001616/5.83, allocations: 5.69 MB / 2.389 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.389e-05/5.83, allocations: 17.12 kB / 2.389 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/5.832, allocations: 430 kB / 2.39 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/5.834, allocations: 356.7 kB / 2.39 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003939/5.838, allocations: 2.99 MB / 2.393 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/5.841, allocations: 191.1 kB / 2.393 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006247/5.842, allocations: 90.53 kB / 2.393 GB, free: 194.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/5.842, allocations: 3.75 kB / 2.393 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006794/5.849, allocations: 1.906 MB / 2.395 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.711e-05/5.849, allocations: 14.41 kB / 2.395 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007214/5.85, allocations: 217.5 kB / 2.395 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/5.851, allocations: 376.1 kB / 2.396 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00407/5.855, allocations: 3.759 MB / 2.399 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/5.858, allocations: 184.2 kB / 2.4 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004607/5.859, allocations: 85.95 kB / 2.4 GB, free: 191.5 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.0008442/5.86, allocations: 153.8 kB / 2.4 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/5.861, allocations: 205.4 kB / 2.4 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/5.866, allocations: 1.862 MB / 2.402 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/5.866, allocations: 13.17 kB / 2.402 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/5.866, allocations: 2.953 kB / 2.402 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003324/5.869, allocations: 1.505 MB / 2.403 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/5.883, allocations: 4.139 MB / 2.407 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/5.883, allocations: 3.375 kB / 2.407 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/5.884, allocations: 217.5 kB / 2.408 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/5.886, allocations: 396.1 kB / 2.408 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/5.886, allocations: 21.36 kB / 2.408 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003345/5.89, allocations: 2.938 MB / 2.411 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/5.89, allocations: 6.078 kB / 2.411 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005689/5.895, allocations: 2.847 MB / 2.414 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/5.898, allocations: 0.5208 MB / 2.414 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009944/5.899, allocations: 9.859 kB / 2.414 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/5.901, allocations: 165 kB / 2.414 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/5.902, allocations: 103.3 kB / 2.414 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002293/5.902, allocations: 58.81 kB / 2.414 GB, free: 188.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003412/5.905, allocations: 1.319 MB / 2.416 GB, free: 187.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.2e-07/5.905, allocations: 0 / 2.416 GB, free: 187.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01156/5.917, allocations: 1.449 MB / 2.417 GB, free: 187.7 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.002519/5.92, allocations: 0.563 MB / 2.418 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007552/5.927, allocations: 3.094 MB / 2.421 GB, free: 187.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/5.927, allocations: 3.875 kB / 2.421 GB, free: 187.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/5.929, allocations: 0.9205 MB / 2.422 GB, free: 187 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006933/5.936, allocations: 1.076 MB / 2.423 GB, free: 187 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/5.946, allocations: 4.216 MB / 2.427 GB, free: 186.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/5.949, allocations: 2.198 MB / 2.429 GB, free: 185.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005498/5.955, allocations: 1.37 MB / 2.43 GB, free: 185.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/5.955, allocations: 139.6 kB / 2.43 GB, free: 185.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.873e-06/5.955, allocations: 0 / 2.43 GB, free: 185.3 MB / 0.948 GB Notification: Performance of Templates: time 0.07852/6.034, allocations: 45.38 MB / 2.475 GB, free: 183.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)