Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.289/1.289, allocations: 252 MB / 267.9 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009792/0.0009793, allocations: 178.3 kB / 327.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008174/0.0008174, allocations: 89.61 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004248, allocations: 16.48 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 106.3 MB / 0.9012 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8137/1.023, allocations: 419.9 MB / 1.311 GB, free: 12.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/1.023, allocations: 93.27 kB / 1.311 GB, free: 12.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.838/3.861, allocations: 0.9423 GB / 2.254 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.545e-06/3.861, allocations: 2.344 kB / 2.254 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005384/3.862, allocations: 77.8 kB / 2.254 GB, free: 165.6 MB / 0.8855 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.009218/3.871, allocations: 3.116 MB / 2.257 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/3.871, allocations: 10.84 kB / 2.257 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/3.873, allocations: 352.5 kB / 2.257 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006846/3.88, allocations: 2.966 MB / 2.26 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/3.88, allocations: 181.5 kB / 2.26 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008568/3.881, allocations: 242.1 kB / 2.26 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006598/3.888, allocations: 3.009 MB / 2.263 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.429e-05/3.888, allocations: 11.69 kB / 2.263 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004715/3.888, allocations: 102.4 kB / 2.263 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.728e-05/3.888, allocations: 64.73 kB / 2.264 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0041/3.893, allocations: 2.387 MB / 2.266 GB, free: 158 MB / 0.8855 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.01501/3.908, allocations: 12.86 MB / 2.278 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/3.91, allocations: 1.628 MB / 2.28 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/3.911, allocations: 1.146 MB / 2.281 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005725/3.912, allocations: 0.7184 MB / 2.282 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/3.912, allocations: 43.56 kB / 2.282 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001518/3.913, allocations: 213.6 kB / 2.282 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=126): time 6.312e-06/3.913, allocations: 0 / 2.282 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126): time 0.007261/3.92, allocations: 3.404 MB / 2.285 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/3.921, allocations: 141.5 kB / 2.286 GB, free: 139 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/3.923, allocations: 1.946 MB / 2.287 GB, free: 137 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/3.924, allocations: 57.7 kB / 2.288 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009736/3.925, allocations: 1.256 MB / 2.289 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000335/3.925, allocations: 448.8 kB / 2.289 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.507e-05/3.925, allocations: 31.94 kB / 2.289 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001017/3.925, allocations: 377.8 kB / 2.29 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009655/3.926, allocations: 0.7027 MB / 2.29 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/3.927, allocations: 1.242 MB / 2.291 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/3.93, allocations: 1.984 MB / 2.293 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/3.93, allocations: 4 kB / 2.293 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003351/3.933, allocations: 2.356 MB / 2.296 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002187/3.933, allocations: 0.5015 MB / 2.296 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/3.933, allocations: 12 kB / 2.296 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/3.935, allocations: 494.1 kB / 2.297 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/3.936, allocations: 335.2 kB / 2.297 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/3.938, allocations: 3.094 MB / 2.3 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/3.94, allocations: 231.4 kB / 2.3 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/3.941, allocations: 75.98 kB / 2.3 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/3.941, allocations: 4 kB / 2.3 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002822/3.943, allocations: 2.137 MB / 2.302 GB, free: 121 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/3.944, allocations: 16 kB / 2.302 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000488/3.944, allocations: 241.5 kB / 2.303 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/3.945, allocations: 351.4 kB / 2.303 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/3.948, allocations: 4.157 MB / 2.307 GB, free: 116 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/3.95, allocations: 215.5 kB / 2.307 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/3.95, allocations: 83.97 kB / 2.307 GB, free: 115.7 MB / 0.8855 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 () * 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.001737/3.952, allocations: 1.012 MB / 2.308 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006032/3.953, allocations: 201.5 kB / 2.309 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/3.956, allocations: 1.997 MB / 2.31 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/3.956, allocations: 12 kB / 2.31 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/3.956, allocations: 7.938 kB / 2.31 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002048/3.958, allocations: 1.613 MB / 2.312 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007701/3.966, allocations: 4.555 MB / 2.316 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/3.966, allocations: 0 / 2.316 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007828/3.967, allocations: 211.7 kB / 2.317 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/3.968, allocations: 414.9 kB / 2.317 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.399e-05/3.968, allocations: 43.91 kB / 2.317 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/3.97, allocations: 3.003 MB / 2.32 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/3.97, allocations: 3.984 kB / 2.32 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/3.974, allocations: 2.909 MB / 2.323 GB, free: 99.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/3.975, allocations: 0.5019 MB / 2.323 GB, free: 98.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004754/3.975, allocations: 34.89 kB / 2.323 GB, free: 98.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/3.977, allocations: 179.7 kB / 2.324 GB, free: 98.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/3.977, allocations: 97.16 kB / 2.324 GB, free: 98.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/3.977, allocations: 51.97 kB / 2.324 GB, free: 98.53 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002002/3.979, allocations: 1.334 MB / 2.325 GB, free: 97.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/3.979, allocations: 0 / 2.325 GB, free: 97.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004373/3.984, allocations: 1.51 MB / 2.327 GB, free: 95.66 MB / 0.8855 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,nor.y,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.00106/3.985, allocations: 0.5516 MB / 2.327 GB, free: 95.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004411/3.989, allocations: 3.288 MB / 2.33 GB, free: 91.84 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/3.989, allocations: 0 / 2.33 GB, free: 91.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/3.99, allocations: 0.9903 MB / 2.331 GB, free: 90.84 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005145/3.995, allocations: 1.142 MB / 2.332 GB, free: 89.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0081/4.004, allocations: 6.245 MB / 2.338 GB, free: 83.49 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/4.005, allocations: 2.152 MB / 2.341 GB, free: 81.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003191/4.009, allocations: 0.9181 MB / 2.341 GB, free: 80.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000591/4.009, allocations: 171.3 kB / 2.342 GB, free: 80.23 MB / 0.8855 GB Notification: Performance of SimCode: time 8.92e-07/4.009, allocations: 3.938 kB / 2.342 GB, free: 80.23 MB / 0.8855 GB Notification: Performance of Templates: time 0.06381/4.073, allocations: 47.07 MB / 2.388 GB, free: 33.92 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)