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.451/1.451, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009522/0.0009524, allocations: 168.6 kB / 326.5 MB, free: 2.672 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.896/1.896, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0009725/0.0009725, allocations: 89.7 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 8.312 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2151, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.02585/0.241, allocations: 37.43 MB / 0.9333 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.257, allocations: 12.87 MB / 0.9459 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.2594, allocations: 47.62 kB / 0.9459 GB, free: 17.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.261, allocations: 477.2 kB / 0.9464 GB, free: 17.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004351/0.2654, allocations: 1.453 MB / 0.9478 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.2683, allocations: 1.093 MB / 0.9488 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007894/0.2762, allocations: 10.4 MB / 0.959 GB, free: 4.215 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003502/0.2798, allocations: 3.02 MB / 0.9619 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004259/0.2841, allocations: 2.167 MB / 0.9641 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0041/0.2882, allocations: 2.256 MB / 0.9663 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004501/0.2887, allocations: 132 kB / 0.9664 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.2916, allocations: 0.9435 MB / 0.9673 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007048/0.2923, allocations: 0.6107 MB / 0.9679 GB, free: 11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002356/0.2947, allocations: 1.52 MB / 0.9694 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.2998, allocations: 3.982 MB / 0.9733 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.2998, allocations: 7.938 kB / 0.9733 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2998, allocations: 0 / 0.9733 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000117/0.3, allocations: 0 / 0.9733 GB, free: 5.469 MB / 0.6198 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.005834/0.3058, allocations: 2.961 MB / 0.9762 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3059, allocations: 16.03 kB / 0.9762 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.3069, allocations: 356.8 kB / 0.9765 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004388/0.3113, allocations: 2.572 MB / 0.979 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.3115, allocations: 176.6 kB / 0.9792 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003258/0.3118, allocations: 239.9 kB / 0.9794 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005288/0.3171, allocations: 3.203 MB / 0.9826 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-05/0.3172, allocations: 11.84 kB / 0.9826 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.3174, allocations: 96 kB / 0.9827 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-05/0.3175, allocations: 63.98 kB / 0.9827 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004206/0.3217, allocations: 2.585 MB / 0.9853 GB, free: 8.93 MB / 0.6355 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.01697/0.3387, allocations: 13.72 MB / 0.9987 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.3413, allocations: 1.627 MB / 1 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.3429, allocations: 1.162 MB / 1.001 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008576/0.3438, allocations: 0.7205 MB / 1.002 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.3438, allocations: 51.56 kB / 1.002 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00135/0.3452, allocations: 182.9 kB / 1.002 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 4.068e-06/0.3452, allocations: 0 / 1.002 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of matching and sorting (n=126): time 0.00836/0.3536, allocations: 3.406 MB / 1.006 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.3537, allocations: 145.5 kB / 1.006 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.3567, allocations: 1.958 MB / 1.008 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.3569, allocations: 53.7 kB / 1.008 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.3581, allocations: 1.254 MB / 1.009 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004712/0.3586, allocations: 449.6 kB / 1.009 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.3588, allocations: 149.6 kB / 1.01 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3589, allocations: 309.1 kB / 1.01 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.3601, allocations: 0.7339 MB / 1.011 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.3616, allocations: 1.244 MB / 1.012 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/0.3643, allocations: 2.041 MB / 1.014 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.3643, allocations: 4 kB / 1.014 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004182/0.3685, allocations: 2.429 MB / 1.016 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003592/0.3689, allocations: 0.5032 MB / 1.017 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.3689, allocations: 15.94 kB / 1.017 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.3708, allocations: 0.4923 MB / 1.017 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.3721, allocations: 347.4 kB / 1.017 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.3753, allocations: 3.141 MB / 1.021 GB, free: 2.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.3775, allocations: 223.5 kB / 1.021 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.3777, allocations: 79.97 kB / 1.021 GB, free: 2.336 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.3777, allocations: 4 kB / 1.021 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003414/0.3812, allocations: 2.195 MB / 1.023 GB, free: 132 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.3812, allocations: 12 kB / 1.023 GB, free: 120 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/0.3818, allocations: 253.5 kB / 1.023 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.3831, allocations: 367.4 kB / 1.024 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004133/0.3872, allocations: 4.169 MB / 1.028 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.3894, allocations: 223.5 kB / 1.028 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.3896, allocations: 75.98 kB / 1.028 GB, free: 10.77 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 (onOffHea.y,$PRE.onOffHea.y,yTop.u,and2.y,onOffMid.y,$PRE.onOffMid.y,onOffBot.y,$PRE.onOffBot.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001853/0.3915, allocations: 1 MB / 1.029 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005537/0.392, allocations: 209.5 kB / 1.029 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003375/0.3954, allocations: 2.059 MB / 1.031 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.3954, allocations: 15.98 kB / 1.031 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3955, allocations: 3.938 kB / 1.031 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002343/0.3978, allocations: 1.667 MB / 1.033 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007774/0.4056, allocations: 4.673 MB / 1.037 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.4056, allocations: 0 / 1.037 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008319/0.4065, allocations: 203.7 kB / 1.038 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/0.4079, allocations: 429.8 kB / 1.038 GB, free: 400 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.044e-05/0.408, allocations: 31.92 kB / 1.038 GB, free: 368 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/0.411, allocations: 3.058 MB / 1.041 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.411, allocations: 4.031 kB / 1.041 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004484/0.4155, allocations: 2.999 MB / 1.044 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.4167, allocations: 474.5 kB / 1.044 GB, free: 9.617 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.417, allocations: 28 kB / 1.044 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.4184, allocations: 207 kB / 1.045 GB, free: 9.391 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.4186, allocations: 89.17 kB / 1.045 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.4187, allocations: 59.95 kB / 1.045 GB, free: 9.246 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00191/0.4206, allocations: 1.341 MB / 1.046 GB, free: 7.883 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4206, allocations: 0 / 1.046 GB, free: 7.883 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003742/0.4244, allocations: 1.476 MB / 1.047 GB, free: 6.402 MB / 0.698 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008423/0.4253, allocations: 374.9 kB / 1.048 GB, free: 6.039 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00517/0.4304, allocations: 3.374 MB / 1.051 GB, free: 2.633 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.4305, allocations: 0 / 1.051 GB, free: 2.633 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.4319, allocations: 1.024 MB / 1.052 GB, free: 1.598 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00552/0.4374, allocations: 1.17 MB / 1.053 GB, free: 456 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4105/0.848, allocations: 6.37 MB / 1.059 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002002/0.85, allocations: 2.111 MB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/0.8511, allocations: 182 kB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of SimCode: time 1.503e-06/0.8511, allocations: 3.781 kB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of Templates: time 0.09028/0.9414, allocations: 69.47 MB / 1.13 GB, free: 90.6 MB / 0.698 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)