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.673/1.673, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001046/0.001046, allocations: 177 kB / 371.8 MB, free: 10.29 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.562/1.562, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000873/0.0008731, allocations: 98.77 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.0004271, allocations: 11.91 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2363, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.02557/0.2619, allocations: 31.86 MB / 1.011 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01763/0.2796, allocations: 11.08 MB / 1.021 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.2816, allocations: 43.69 kB / 1.021 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.2836, allocations: 0.657 MB / 1.022 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004698/0.2883, allocations: 1.545 MB / 1.024 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0079/0.2962, allocations: 2.566 MB / 1.026 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006603/0.3028, allocations: 4.442 MB / 1.03 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004333/0.3072, allocations: 2.747 MB / 1.033 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004217/0.3114, allocations: 1.841 MB / 1.035 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003454/0.3149, allocations: 1.544 MB / 1.036 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0008436/0.3157, allocations: 132 kB / 1.036 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.3184, allocations: 0.675 MB / 1.037 GB, free: 468 kB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0008972/0.3193, allocations: 0.5643 MB / 1.038 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.3206, allocations: 0.6408 MB / 1.038 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004659/0.3252, allocations: 3.928 MB / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3253, allocations: 0 / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.592e-06/0.3253, allocations: 3.938 kB / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001957/0.3255, allocations: 0 / 1.042 GB, free: 11.3 MB / 0.6667 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.006924/0.3324, allocations: 2.981 MB / 1.045 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3325, allocations: 12.03 kB / 1.045 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.3339, allocations: 352 kB / 1.045 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/0.3385, allocations: 2.361 MB / 1.048 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.3386, allocations: 176.6 kB / 1.048 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/0.339, allocations: 232 kB / 1.048 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00521/0.3442, allocations: 3.203 MB / 1.051 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/0.3443, allocations: 3.938 kB / 1.051 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/0.3445, allocations: 103.9 kB / 1.051 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.903e-05/0.3446, allocations: 68 kB / 1.051 GB, free: 1.566 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003905/0.3485, allocations: 2.566 MB / 1.054 GB, free: 14.98 MB / 0.6823 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.0165/0.365, allocations: 13.84 MB / 1.067 GB, free: 72 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4493/0.8143, allocations: 1.606 MB / 1.069 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007426/0.8151, allocations: 0.721 MB / 1.07 GB, free: 85.94 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.8151, allocations: 50.25 kB / 1.07 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002051/0.8172, allocations: 197.4 kB / 1.07 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 7.174e-06/0.8172, allocations: 0 / 1.07 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.01135/0.8286, allocations: 3.486 MB / 1.073 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/0.8287, allocations: 145.4 kB / 1.073 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003988/0.8327, allocations: 2.088 MB / 1.076 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.8329, allocations: 55.97 kB / 1.076 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.8342, allocations: 1.252 MB / 1.077 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.8347, allocations: 443.6 kB / 1.077 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/0.8348, allocations: 35.28 kB / 1.077 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8349, allocations: 382.6 kB / 1.078 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.8363, allocations: 0.733 MB / 1.078 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.8381, allocations: 1.236 MB / 1.08 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.8398, allocations: 0.9535 MB / 1.08 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/0.8398, allocations: 7.016 kB / 1.08 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004818/0.8446, allocations: 2.426 MB / 1.083 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001247/0.8459, allocations: 5.7 MB / 1.088 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/0.8459, allocations: 14.41 kB / 1.088 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.8483, allocations: 0.5154 MB / 1.089 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.8496, allocations: 341.4 kB / 1.089 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.853, allocations: 3.177 MB / 1.092 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.8553, allocations: 235.7 kB / 1.093 GB, free: 71.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.8555, allocations: 77.92 kB / 1.093 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.8555, allocations: 4.625 kB / 1.093 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00388/0.8594, allocations: 2.198 MB / 1.095 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.8594, allocations: 14.69 kB / 1.095 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/0.86, allocations: 239.2 kB / 1.095 GB, free: 70.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.8614, allocations: 366.8 kB / 1.095 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/0.8653, allocations: 4.226 MB / 1.1 GB, free: 67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.8674, allocations: 218 kB / 1.1 GB, free: 66.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.8676, allocations: 79 kB / 1.1 GB, free: 66.93 MB / 0.6823 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.002058/0.8697, allocations: 1.012 MB / 1.101 GB, free: 66.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/0.8701, allocations: 205.5 kB / 1.101 GB, free: 66.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003701/0.8739, allocations: 2.081 MB / 1.103 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.8739, allocations: 14.66 kB / 1.103 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.8739, allocations: 1.781 kB / 1.103 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002714/0.8766, allocations: 1.683 MB / 1.105 GB, free: 64.81 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007879/0.8845, allocations: 4.695 MB / 1.109 GB, free: 62.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.8845, allocations: 5.312 kB / 1.109 GB, free: 62.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008665/0.8854, allocations: 200.5 kB / 1.109 GB, free: 62.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.8871, allocations: 446.1 kB / 1.11 GB, free: 62.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.8e-05/0.8872, allocations: 37.3 kB / 1.11 GB, free: 62.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.8898, allocations: 3.083 MB / 1.113 GB, free: 60.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.8898, allocations: 1.031 kB / 1.113 GB, free: 60.03 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004541/0.8944, allocations: 3.053 MB / 1.116 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.8958, allocations: 0.5402 MB / 1.116 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/0.8961, allocations: 32.83 kB / 1.116 GB, free: 57.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.8976, allocations: 204.2 kB / 1.117 GB, free: 57.74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.8978, allocations: 99.28 kB / 1.117 GB, free: 57.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.8979, allocations: 62.95 kB / 1.117 GB, free: 57.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002089/0.9, allocations: 1.445 MB / 1.118 GB, free: 56.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.403e-06/0.9, allocations: 112 / 1.118 GB, free: 56.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004696/0.9047, allocations: 1.496 MB / 1.12 GB, free: 56.52 MB / 0.6823 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.0009129/0.9057, allocations: 383 kB / 1.12 GB, free: 56.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00576/0.9114, allocations: 3.374 MB / 1.123 GB, free: 54.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.9115, allocations: 4.938 kB / 1.123 GB, free: 54.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.913, allocations: 1.03 MB / 1.124 GB, free: 53.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004845/0.9178, allocations: 1.145 MB / 1.125 GB, free: 53.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007322/0.9252, allocations: 6.277 MB / 1.132 GB, free: 49.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.9265, allocations: 2.206 MB / 1.134 GB, free: 46.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0028/0.9293, allocations: 0.959 MB / 1.135 GB, free: 45.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/0.9298, allocations: 175.4 kB / 1.135 GB, free: 45.68 MB / 0.6823 GB Notification: Performance of SimCode: time 6.32e-07/0.9298, allocations: 0 / 1.135 GB, free: 45.68 MB / 0.6823 GB Notification: Performance of Templates: time 0.06292/0.9927, allocations: 45.49 MB / 1.179 GB, free: 0.6016 MB / 0.6823 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)