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.699/1.699, allocations: 288.4 MB / 304.3 MB, free: 8.148 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.001063/0.001063, allocations: 180.5 kB / 373 MB, free: 10.14 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.698/1.698, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.0008296/0.0008297, allocations: 98.22 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004423, allocations: 12.88 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2544, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.369, allocations: 427.6 MB / 1.398 GB, free: 1.461 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/1.369, allocations: 94.33 kB / 1.398 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.495/4.864, allocations: 0.967 GB / 2.365 GB, free: 141.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.208e-06/4.864, allocations: 0 / 2.365 GB, free: 141.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005081/4.865, allocations: 81.09 kB / 2.365 GB, free: 141.7 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.009665/4.875, allocations: 3.121 MB / 2.368 GB, free: 138.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/4.875, allocations: 8.031 kB / 2.368 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/4.876, allocations: 357 kB / 2.369 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005681/4.882, allocations: 2.981 MB / 2.372 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/4.882, allocations: 177 kB / 2.372 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003568/4.883, allocations: 248.5 kB / 2.372 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004457/4.887, allocations: 3.038 MB / 2.375 GB, free: 131.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.252e-05/4.887, allocations: 7.938 kB / 2.375 GB, free: 131.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/4.887, allocations: 99 kB / 2.375 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/4.887, allocations: 71.92 kB / 2.375 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/4.891, allocations: 2.383 MB / 2.378 GB, free: 129.1 MB / 0.948 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.01458/4.905, allocations: 12.89 MB / 2.39 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/4.907, allocations: 1.622 MB / 2.392 GB, free: 113.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/4.909, allocations: 1.152 MB / 2.393 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006317/4.909, allocations: 0.7197 MB / 2.394 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/4.909, allocations: 47.56 kB / 2.394 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001715/4.911, allocations: 216.5 kB / 2.394 GB, free: 111.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 5.601e-06/4.911, allocations: 0 / 2.394 GB, free: 111.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.008964/4.92, allocations: 3.514 MB / 2.397 GB, free: 108.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/4.92, allocations: 143.8 kB / 2.397 GB, free: 107.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/4.923, allocations: 1.946 MB / 2.399 GB, free: 105.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002138/4.923, allocations: 57.7 kB / 2.399 GB, free: 105.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/4.924, allocations: 1.25 MB / 2.401 GB, free: 104.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/4.924, allocations: 441.7 kB / 2.401 GB, free: 104.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/4.924, allocations: 34.5 kB / 2.401 GB, free: 104.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001149/4.925, allocations: 381.8 kB / 2.401 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009429/4.926, allocations: 0.6988 MB / 2.402 GB, free: 103.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/4.927, allocations: 1.243 MB / 2.403 GB, free: 101.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/4.929, allocations: 1.983 MB / 2.405 GB, free: 99.46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/4.929, allocations: 7.938 kB / 2.405 GB, free: 99.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003423/4.932, allocations: 2.355 MB / 2.408 GB, free: 97.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002386/4.932, allocations: 0.5029 MB / 2.408 GB, free: 96.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/4.932, allocations: 16 kB / 2.408 GB, free: 96.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/4.934, allocations: 0.5087 MB / 2.409 GB, free: 95.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/4.935, allocations: 329.8 kB / 2.409 GB, free: 95.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/4.938, allocations: 3.099 MB / 2.412 GB, free: 92.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/4.941, allocations: 227.5 kB / 2.412 GB, free: 92.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/4.941, allocations: 82.89 kB / 2.412 GB, free: 92.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/4.941, allocations: 4 kB / 2.412 GB, free: 92.03 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003229/4.945, allocations: 2.136 MB / 2.414 GB, free: 89.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/4.945, allocations: 19.98 kB / 2.414 GB, free: 89.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/4.945, allocations: 238.3 kB / 2.415 GB, free: 89.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/4.947, allocations: 355.4 kB / 2.415 GB, free: 89.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/4.95, allocations: 4.156 MB / 2.419 GB, free: 84.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/4.952, allocations: 223.5 kB / 2.419 GB, free: 84.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/4.953, allocations: 79.97 kB / 2.419 GB, free: 84.56 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 () * 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.001957/4.955, allocations: 1 MB / 2.42 GB, free: 83.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006076/4.955, allocations: 205.5 kB / 2.42 GB, free: 83.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/4.958, allocations: 2.005 MB / 2.422 GB, free: 81.33 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/4.958, allocations: 23.75 kB / 2.422 GB, free: 81.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/4.958, allocations: 3.938 kB / 2.422 GB, free: 81.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001931/4.96, allocations: 1.613 MB / 2.424 GB, free: 79.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007929/4.968, allocations: 4.583 MB / 2.428 GB, free: 75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/4.968, allocations: 8.031 kB / 2.428 GB, free: 75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008392/4.969, allocations: 207.7 kB / 2.429 GB, free: 74.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/4.971, allocations: 430.9 kB / 2.429 GB, free: 74.37 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/4.971, allocations: 35.92 kB / 2.429 GB, free: 74.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/4.973, allocations: 3.022 MB / 2.432 GB, free: 71.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/4.973, allocations: 0 / 2.432 GB, free: 71.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003798/4.977, allocations: 2.921 MB / 2.435 GB, free: 68.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/4.978, allocations: 0.4984 MB / 2.435 GB, free: 67.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/4.979, allocations: 32 kB / 2.435 GB, free: 67.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/4.98, allocations: 183.6 kB / 2.436 GB, free: 67.47 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/4.98, allocations: 97.16 kB / 2.436 GB, free: 67.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/4.98, allocations: 63.95 kB / 2.436 GB, free: 67.31 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001858/4.982, allocations: 1.33 MB / 2.437 GB, free: 65.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.52e-07/4.982, allocations: 0 / 2.437 GB, free: 65.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004297/4.987, allocations: 1.507 MB / 2.439 GB, free: 64.45 MB / 0.948 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.001143/4.988, allocations: 0.5728 MB / 2.439 GB, free: 63.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004636/4.992, allocations: 3.287 MB / 2.442 GB, free: 60.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/4.992, allocations: 8.562 kB / 2.442 GB, free: 60.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/4.994, allocations: 0.9849 MB / 2.443 GB, free: 59.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00601/5, allocations: 1.144 MB / 2.444 GB, free: 58.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008511/5.008, allocations: 6.235 MB / 2.45 GB, free: 52.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/5.01, allocations: 2.152 MB / 2.453 GB, free: 50.04 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003222/5.013, allocations: 0.9298 MB / 2.453 GB, free: 49.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/5.013, allocations: 175.4 kB / 2.454 GB, free: 48.97 MB / 0.948 GB Notification: Performance of SimCode: time 1.974e-06/5.014, allocations: 4 kB / 2.454 GB, free: 48.96 MB / 0.948 GB Notification: Performance of Templates: time 0.07031/5.084, allocations: 47.51 MB / 2.5 GB, free: 2.059 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)