Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.666/1.666, allocations: 297.8 MB / 313.7 MB, free: 104 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 179.3 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008045/0.0008045, allocations: 99.95 kB / 0.7808 GB, free: 50.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004183, allocations: 16 kB / 0.9088 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8749/0.8753, allocations: 120.3 MB / 1.026 GB, free: 55.78 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/1.956, allocations: 417.1 MB / 1.434 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/1.956, allocations: 93.08 kB / 1.434 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.409/5.365, allocations: 0.9828 GB / 2.417 GB, free: 24.18 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.024e-06/5.365, allocations: 0 / 2.417 GB, free: 24.18 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005374/5.365, allocations: 83.92 kB / 2.417 GB, free: 24.1 MB / 0.9636 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.01053/5.376, allocations: 3.137 MB / 2.42 GB, free: 20.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/5.376, allocations: 12.03 kB / 2.42 GB, free: 20.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/5.378, allocations: 353 kB / 2.42 GB, free: 20.53 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007815/5.386, allocations: 2.989 MB / 2.423 GB, free: 17.49 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/5.386, allocations: 185 kB / 2.423 GB, free: 17.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/5.387, allocations: 236.8 kB / 2.423 GB, free: 17.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00807/5.396, allocations: 3.049 MB / 2.426 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/5.396, allocations: 7.938 kB / 2.426 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006508/5.396, allocations: 99.98 kB / 2.426 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.238e-05/5.396, allocations: 71.92 kB / 2.427 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004994/5.401, allocations: 2.387 MB / 2.429 GB, free: 11.31 MB / 0.9636 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.02015/5.422, allocations: 12.89 MB / 2.441 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/5.425, allocations: 1.621 MB / 2.443 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/5.426, allocations: 1.15 MB / 2.444 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008903/5.427, allocations: 0.7126 MB / 2.445 GB, free: 9.871 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/5.427, allocations: 47.56 kB / 2.445 GB, free: 9.816 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001981/5.429, allocations: 218.7 kB / 2.445 GB, free: 9.602 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=126): time 9.608e-06/5.429, allocations: 4 kB / 2.445 GB, free: 9.598 MB / 0.9792 GB Notification: Performance of matching and sorting (n=126): time 0.01021/5.44, allocations: 3.507 MB / 2.449 GB, free: 6.035 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.082e-05/5.44, allocations: 141.5 kB / 2.449 GB, free: 5.867 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/5.444, allocations: 1.962 MB / 2.451 GB, free: 3.863 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002757/5.445, allocations: 53.7 kB / 2.451 GB, free: 3.805 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/5.446, allocations: 1.246 MB / 2.452 GB, free: 2.543 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/5.447, allocations: 445.7 kB / 2.452 GB, free: 2.102 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/5.447, allocations: 32 kB / 2.452 GB, free: 2.07 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002251/5.447, allocations: 381.8 kB / 2.453 GB, free: 1.691 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/5.449, allocations: 0.7027 MB / 2.453 GB, free: 0.9883 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6303/6.079, allocations: 1.238 MB / 2.455 GB, free: 176.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/6.082, allocations: 1.984 MB / 2.456 GB, free: 176.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/6.082, allocations: 5.438 kB / 2.456 GB, free: 176.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003962/6.086, allocations: 2.357 MB / 2.459 GB, free: 176 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002789/6.086, allocations: 0.4939 MB / 2.459 GB, free: 175.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/6.086, allocations: 18.69 kB / 2.459 GB, free: 175.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/6.088, allocations: 0.5017 MB / 2.46 GB, free: 175.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/6.089, allocations: 333.2 kB / 2.46 GB, free: 175.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/6.092, allocations: 3.094 MB / 2.463 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/6.095, allocations: 228.5 kB / 2.463 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/6.095, allocations: 82.27 kB / 2.463 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/6.095, allocations: 5.25 kB / 2.463 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003456/6.098, allocations: 2.14 MB / 2.466 GB, free: 173.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/6.099, allocations: 13.11 kB / 2.466 GB, free: 173.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005254/6.099, allocations: 246.8 kB / 2.466 GB, free: 173.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/6.1, allocations: 346.4 kB / 2.466 GB, free: 173.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/6.104, allocations: 4.154 MB / 2.47 GB, free: 170.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/6.106, allocations: 220.1 kB / 2.47 GB, free: 170.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/6.106, allocations: 83.75 kB / 2.47 GB, free: 170.9 MB / 0.9792 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.001903/6.108, allocations: 1.004 MB / 2.471 GB, free: 170.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/6.108, allocations: 208.6 kB / 2.472 GB, free: 170.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/6.111, allocations: 2.008 MB / 2.474 GB, free: 170.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/6.111, allocations: 23.27 kB / 2.474 GB, free: 170.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/6.111, allocations: 0 / 2.474 GB, free: 170.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00215/6.114, allocations: 1.606 MB / 2.475 GB, free: 170.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006998/6.121, allocations: 4.58 MB / 2.48 GB, free: 170 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/6.121, allocations: 0 / 2.48 GB, free: 170 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000883/6.122, allocations: 209.7 kB / 2.48 GB, free: 170 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/6.123, allocations: 445.6 kB / 2.48 GB, free: 170 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.386e-05/6.123, allocations: 35.48 kB / 2.48 GB, free: 170 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/6.126, allocations: 3.017 MB / 2.483 GB, free: 168.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/6.126, allocations: 2.656 kB / 2.483 GB, free: 168.2 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004139/6.13, allocations: 2.919 MB / 2.486 GB, free: 167.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/6.131, allocations: 0.5009 MB / 2.487 GB, free: 167.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/6.132, allocations: 36.58 kB / 2.487 GB, free: 167.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/6.133, allocations: 181.8 kB / 2.487 GB, free: 167.6 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/6.133, allocations: 103.5 kB / 2.487 GB, free: 167.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/6.133, allocations: 56.17 kB / 2.487 GB, free: 167.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002127/6.136, allocations: 1.34 MB / 2.488 GB, free: 167.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/6.136, allocations: 0 / 2.488 GB, free: 167.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005148/6.141, allocations: 1.506 MB / 2.49 GB, free: 167.3 MB / 0.9792 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.001348/6.142, allocations: 0.563 MB / 2.49 GB, free: 167.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005187/6.147, allocations: 3.299 MB / 2.494 GB, free: 166.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/6.147, allocations: 2.281 kB / 2.494 GB, free: 166.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/6.149, allocations: 0.9868 MB / 2.494 GB, free: 166.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005614/6.154, allocations: 1.135 MB / 2.496 GB, free: 166.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/6.165, allocations: 6.277 MB / 2.502 GB, free: 164.3 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/6.167, allocations: 2.152 MB / 2.504 GB, free: 163.6 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003551/6.17, allocations: 0.9158 MB / 2.505 GB, free: 163.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004606/6.171, allocations: 176.9 kB / 2.505 GB, free: 163.5 MB / 0.9792 GB Notification: Performance of SimCode: time 1.242e-06/6.171, allocations: 5.469 kB / 2.505 GB, free: 163.5 MB / 0.9792 GB Notification: Performance of Templates: time 0.08482/6.256, allocations: 47.43 MB / 2.551 GB, free: 161.9 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)