Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 183 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5028/0.5028, allocations: 91.99 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 354.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 100.3 kB / 427.4 MB, free: 3.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 16 kB / 0.4982 GB, free: 42.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 72.31 MB / 0.5689 GB, free: 1.953 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.474, allocations: 377.9 MB / 0.9379 GB, free: 89.14 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.474, allocations: 98 kB / 0.938 GB, free: 89.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.793/5.268, allocations: 1.002 GB / 1.94 GB, free: 45.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.534e-06/5.268, allocations: 0 / 1.94 GB, free: 45.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0005645/5.268, allocations: 75.92 kB / 1.94 GB, free: 45.46 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.01138/5.28, allocations: 3.184 MB / 1.943 GB, free: 42.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/5.28, allocations: 16.02 kB / 1.943 GB, free: 42.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/5.283, allocations: 356 kB / 1.943 GB, free: 41.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/5.293, allocations: 3.126 MB / 1.946 GB, free: 38.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/5.293, allocations: 176.6 kB / 1.946 GB, free: 38.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/5.294, allocations: 243.9 kB / 1.947 GB, free: 38.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007186/5.301, allocations: 3.024 MB / 1.95 GB, free: 35.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.437e-05/5.302, allocations: 11.83 kB / 1.95 GB, free: 35.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/5.302, allocations: 100 kB / 1.95 GB, free: 34.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.51e-05/5.302, allocations: 64 kB / 1.95 GB, free: 34.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003605/5.306, allocations: 2.387 MB / 1.952 GB, free: 32.51 MB / 0.6198 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.01477/5.32, allocations: 13 MB / 1.965 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/5.322, allocations: 1.644 MB / 1.966 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000685/5.323, allocations: 0.7088 MB / 1.967 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/5.323, allocations: 51.56 kB / 1.967 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001743/5.325, allocations: 231.5 kB / 1.967 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=126): time 4.198e-06/5.325, allocations: 0 / 1.967 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=126): time 0.008786/5.334, allocations: 3.447 MB / 1.971 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/5.334, allocations: 145.5 kB / 1.971 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/5.336, allocations: 1.907 MB / 1.973 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/5.337, allocations: 57.7 kB / 1.973 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/5.338, allocations: 1.27 MB / 1.974 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/5.338, allocations: 445.7 kB / 1.974 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/5.338, allocations: 32 kB / 1.974 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001003/5.338, allocations: 373.9 kB / 1.975 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008864/5.339, allocations: 0.7066 MB / 1.976 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/5.34, allocations: 1.237 MB / 1.977 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/5.341, allocations: 0.9354 MB / 1.978 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/5.341, allocations: 4 kB / 1.978 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003238/5.345, allocations: 2.359 MB / 1.98 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.3824/5.727, allocations: 5.713 MB / 1.986 GB, free: 91.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.977e-05/5.727, allocations: 14.47 kB / 1.986 GB, free: 91.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/5.729, allocations: 483.1 kB / 1.986 GB, free: 91.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/5.731, allocations: 349.7 kB / 1.986 GB, free: 91.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/5.735, allocations: 3.132 MB / 1.989 GB, free: 89.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/5.738, allocations: 228.1 kB / 1.99 GB, free: 89.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/5.738, allocations: 84.28 kB / 1.99 GB, free: 89.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/5.738, allocations: 5.969 kB / 1.99 GB, free: 89.57 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004097/5.742, allocations: 2.137 MB / 1.992 GB, free: 89.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/5.742, allocations: 13.66 kB / 1.992 GB, free: 89.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/5.743, allocations: 244.9 kB / 1.992 GB, free: 89.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/5.744, allocations: 366.4 kB / 1.992 GB, free: 89.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004128/5.748, allocations: 4.208 MB / 1.997 GB, free: 86.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/5.751, allocations: 220.4 kB / 1.997 GB, free: 86.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/5.751, allocations: 81.83 kB / 1.997 GB, free: 86.87 MB / 0.6198 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.002163/5.753, allocations: 1.017 MB / 1.998 GB, free: 86.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005356/5.753, allocations: 207.5 kB / 1.998 GB, free: 86.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/5.757, allocations: 2.019 MB / 2 GB, free: 86.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/5.757, allocations: 17.2 kB / 2 GB, free: 86.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/5.757, allocations: 0 / 2 GB, free: 86.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002034/5.759, allocations: 1.616 MB / 2.002 GB, free: 86.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008022/5.767, allocations: 4.574 MB / 2.006 GB, free: 86.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/5.767, allocations: 0 / 2.006 GB, free: 86.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009471/5.768, allocations: 218.5 kB / 2.006 GB, free: 86.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/5.77, allocations: 437.2 kB / 2.007 GB, free: 86.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/5.77, allocations: 34.03 kB / 2.007 GB, free: 86.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00351/5.773, allocations: 3.049 MB / 2.01 GB, free: 84.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/5.773, allocations: 4.594 kB / 2.01 GB, free: 84.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005389/5.779, allocations: 2.971 MB / 2.013 GB, free: 83.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/5.781, allocations: 0.5285 MB / 2.013 GB, free: 83.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/5.781, allocations: 30.81 kB / 2.013 GB, free: 83.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/5.783, allocations: 191.8 kB / 2.013 GB, free: 83.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/5.783, allocations: 101.8 kB / 2.013 GB, free: 83.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/5.783, allocations: 58.02 kB / 2.013 GB, free: 83.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002956/5.786, allocations: 1.477 MB / 2.015 GB, free: 83.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/5.786, allocations: 4.938 kB / 2.015 GB, free: 83.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005341/5.792, allocations: 1.521 MB / 2.016 GB, free: 83.35 MB / 0.6198 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.001294/5.793, allocations: 0.5724 MB / 2.017 GB, free: 83.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005615/5.798, allocations: 3.308 MB / 2.02 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/5.799, allocations: 0 / 2.02 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/5.8, allocations: 0.9915 MB / 2.021 GB, free: 82.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/5.805, allocations: 1.133 MB / 2.022 GB, free: 82.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008465/5.813, allocations: 6.289 MB / 2.028 GB, free: 80.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/5.815, allocations: 2.217 MB / 2.031 GB, free: 79.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003042/5.818, allocations: 0.9437 MB / 2.031 GB, free: 79.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/5.819, allocations: 181.2 kB / 2.032 GB, free: 79.53 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/5.819, allocations: 2.156 kB / 2.032 GB, free: 79.53 MB / 0.6198 GB Notification: Performance of Templates: time 0.06945/5.888, allocations: 47.15 MB / 2.078 GB, free: 77.5 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)