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.845/1.845, allocations: 288.3 MB / 303.2 MB, free: 8.277 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.001376/0.001376, allocations: 187 kB / 371.8 MB, free: 10.24 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.78/1.78, allocations: 205.4 MB / 0.6306 GB, free: 9.961 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.001074/0.001074, allocations: 98.78 kB / 0.7439 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.00046, allocations: 14.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2641, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.382, allocations: 427.4 MB / 1.397 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/1.383, allocations: 97.33 kB / 1.397 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.754/5.137, allocations: 0.9729 GB / 2.37 GB, free: 136.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.803e-06/5.137, allocations: 0 / 2.37 GB, free: 136.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004653/5.138, allocations: 79.62 kB / 2.37 GB, free: 136.5 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.009452/5.147, allocations: 3.155 MB / 2.373 GB, free: 133.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/5.147, allocations: 8.031 kB / 2.373 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/5.149, allocations: 356.6 kB / 2.373 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00909/5.158, allocations: 3.061 MB / 2.376 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/5.158, allocations: 176.6 kB / 2.376 GB, free: 129.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/5.16, allocations: 232 kB / 2.377 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00919/5.169, allocations: 3.034 MB / 2.38 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/5.169, allocations: 7.25 kB / 2.38 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006294/5.17, allocations: 103.9 kB / 2.38 GB, free: 126.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.685e-05/5.17, allocations: 63.98 kB / 2.38 GB, free: 126.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004743/5.175, allocations: 2.387 MB / 2.382 GB, free: 123.8 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.01593/5.191, allocations: 12.98 MB / 2.395 GB, free: 110 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/5.193, allocations: 1.645 MB / 2.396 GB, free: 108.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006394/5.193, allocations: 0.7127 MB / 2.397 GB, free: 107.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/5.193, allocations: 54.69 kB / 2.397 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001679/5.195, allocations: 227.7 kB / 2.397 GB, free: 107.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 3.657e-06/5.195, allocations: 0 / 2.397 GB, free: 107.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.008751/5.204, allocations: 3.443 MB / 2.401 GB, free: 103.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/5.204, allocations: 145.5 kB / 2.401 GB, free: 103.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/5.207, allocations: 1.874 MB / 2.403 GB, free: 101.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002146/5.207, allocations: 53.7 kB / 2.403 GB, free: 101.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/5.208, allocations: 1.254 MB / 2.404 GB, free: 100.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/5.208, allocations: 453.7 kB / 2.404 GB, free: 99.92 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/5.208, allocations: 30.12 kB / 2.404 GB, free: 99.89 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/5.208, allocations: 373.9 kB / 2.405 GB, free: 99.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009227/5.209, allocations: 0.7066 MB / 2.405 GB, free: 98.81 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/5.21, allocations: 1.24 MB / 2.407 GB, free: 97.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/5.211, allocations: 0.9335 MB / 2.408 GB, free: 96.45 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/5.212, allocations: 4 kB / 2.408 GB, free: 96.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003505/5.215, allocations: 2.369 MB / 2.41 GB, free: 94.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001435/5.216, allocations: 5.699 MB / 2.416 GB, free: 87.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/5.217, allocations: 19.94 kB / 2.416 GB, free: 87.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/5.218, allocations: 470.2 kB / 2.416 GB, free: 87.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/5.22, allocations: 354.6 kB / 2.416 GB, free: 87.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/5.222, allocations: 3.135 MB / 2.419 GB, free: 83.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/5.225, allocations: 227.4 kB / 2.42 GB, free: 83.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/5.225, allocations: 83.97 kB / 2.42 GB, free: 83.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/5.225, allocations: 7.938 kB / 2.42 GB, free: 83.49 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002981/5.228, allocations: 2.145 MB / 2.422 GB, free: 81.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/5.228, allocations: 16 kB / 2.422 GB, free: 81.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005084/5.229, allocations: 229.8 kB / 2.422 GB, free: 81.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/5.23, allocations: 371.4 kB / 2.422 GB, free: 80.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003334/5.234, allocations: 4.2 MB / 2.426 GB, free: 76.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/5.236, allocations: 223.5 kB / 2.427 GB, free: 76.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/5.236, allocations: 83.98 kB / 2.427 GB, free: 75.96 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.002121/5.238, allocations: 1.008 MB / 2.428 GB, free: 74.94 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000639/5.239, allocations: 205.4 kB / 2.428 GB, free: 74.74 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003165/5.242, allocations: 2.011 MB / 2.43 GB, free: 72.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/5.242, allocations: 14.3 kB / 2.43 GB, free: 72.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/5.242, allocations: 4 kB / 2.43 GB, free: 72.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001893/5.244, allocations: 1.628 MB / 2.432 GB, free: 71.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007417/5.252, allocations: 4.567 MB / 2.436 GB, free: 66.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/5.252, allocations: 0 / 2.436 GB, free: 66.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000866/5.253, allocations: 211.7 kB / 2.436 GB, free: 66.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/5.254, allocations: 435.6 kB / 2.437 GB, free: 65.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-05/5.254, allocations: 35.98 kB / 2.437 GB, free: 65.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/5.257, allocations: 3.039 MB / 2.44 GB, free: 62.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/5.257, allocations: 0 / 2.44 GB, free: 62.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/5.261, allocations: 2.98 MB / 2.442 GB, free: 59.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/5.262, allocations: 0.5257 MB / 2.443 GB, free: 58.93 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/5.263, allocations: 28 kB / 2.443 GB, free: 58.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/5.264, allocations: 199.5 kB / 2.443 GB, free: 58.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/5.264, allocations: 93.16 kB / 2.443 GB, free: 58.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/5.265, allocations: 59.95 kB / 2.443 GB, free: 58.56 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002061/5.267, allocations: 1.451 MB / 2.445 GB, free: 57.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.21e-07/5.267, allocations: 3.938 kB / 2.445 GB, free: 57.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004871/5.271, allocations: 1.523 MB / 2.446 GB, free: 55.55 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.001221/5.273, allocations: 0.5683 MB / 2.447 GB, free: 55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004644/5.277, allocations: 3.302 MB / 2.45 GB, free: 51.67 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/5.277, allocations: 0 / 2.45 GB, free: 51.67 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/5.279, allocations: 0.9902 MB / 2.451 GB, free: 50.67 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005151/5.284, allocations: 1.133 MB / 2.452 GB, free: 49.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008108/5.292, allocations: 6.234 MB / 2.458 GB, free: 43.33 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/5.293, allocations: 2.206 MB / 2.46 GB, free: 41.09 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003007/5.296, allocations: 0.9435 MB / 2.461 GB, free: 40.17 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004497/5.297, allocations: 175.4 kB / 2.461 GB, free: 40 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/5.297, allocations: 3.938 kB / 2.461 GB, free: 39.99 MB / 0.948 GB Notification: Performance of Templates: time 0.6343/5.931, allocations: 47.25 MB / 2.508 GB, free: 175.3 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)