Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009216/0.0009216, allocations: 171.5 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4503/0.4503, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.401/1.401, allocations: 223.2 MB / 348.4 MB, free: 5.027 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.000878/0.0008782, allocations: 97.06 kB / 420.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004702, allocations: 12 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4365, allocations: 71.02 MB / 0.5594 GB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7834/1.22, allocations: 357.4 MB / 0.9085 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004628/1.22, allocations: 88.14 kB / 0.9085 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.6145/1.835, allocations: 105.2 MB / 1.011 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/1.835, allocations: 3.938 kB / 1.011 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.802e-05/1.835, allocations: 8 kB / 1.011 GB, free: 174.2 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00181/1.837, allocations: 0.712 MB / 1.012 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.837, allocations: 12.03 kB / 1.012 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/1.837, allocations: 52.39 kB / 1.012 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/1.85, allocations: 6.166 MB / 1.018 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/1.85, allocations: 24.92 kB / 1.018 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/1.85, allocations: 24.94 kB / 1.018 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007571/1.851, allocations: 310.2 kB / 1.018 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/1.851, allocations: 7.938 kB / 1.018 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/1.851, allocations: 11.94 kB / 1.018 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/1.851, allocations: 8 kB / 1.018 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/1.852, allocations: 202.1 kB / 1.019 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/1.854, allocations: 1.481 MB / 1.02 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/1.855, allocations: 158.6 kB / 1.02 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/1.855, allocations: 80.81 kB / 1.02 GB, free: 164.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/1.855, allocations: 93.03 kB / 1.02 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003063/1.855, allocations: 127.3 kB / 1.02 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 4.829e-06/1.855, allocations: 0 / 1.02 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006901/1.856, allocations: 257.6 kB / 1.021 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/1.856, allocations: 51.41 kB / 1.021 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004089/1.856, allocations: 333.6 kB / 1.021 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/1.856, allocations: 37.64 kB / 1.021 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/1.857, allocations: 215.7 kB / 1.021 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/1.857, allocations: 55.28 kB / 1.021 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/1.857, allocations: 8 kB / 1.021 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/1.857, allocations: 346.7 kB / 1.022 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/1.857, allocations: 75.95 kB / 1.022 GB, free: 163 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/1.857, allocations: 151.6 kB / 1.022 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/1.858, allocations: 261 kB / 1.022 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.858, allocations: 0 / 1.022 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000588/1.858, allocations: 318.7 kB / 1.022 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/1.858, allocations: 33.7 kB / 1.023 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.858, allocations: 4 kB / 1.023 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/1.858, allocations: 4 kB / 1.023 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/1.859, allocations: 56.19 kB / 1.023 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/1.859, allocations: 11.98 kB / 1.023 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/1.859, allocations: 35.73 kB / 1.023 GB, free: 162 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/1.859, allocations: 19.88 kB / 1.023 GB, free: 162 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001974/1.859, allocations: 153.8 kB / 1.023 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/1.859, allocations: 39.56 kB / 1.023 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/1.86, allocations: 201.3 kB / 1.023 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.86, allocations: 3.984 kB / 1.023 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.86, allocations: 0 / 1.023 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004344/1.86, allocations: 498.1 kB / 1.023 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/1.861, allocations: 353.4 kB / 1.024 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.861, allocations: 0 / 1.024 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/1.861, allocations: 39.84 kB / 1.024 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.861, allocations: 0 / 1.024 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/1.861, allocations: 8 kB / 1.024 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/1.861, allocations: 4 kB / 1.024 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.861, allocations: 0 / 1.024 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005809/1.861, allocations: 302.3 kB / 1.024 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/1.862, allocations: 132.6 kB / 1.024 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/1.862, allocations: 0 / 1.024 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/1.862, allocations: 23.92 kB / 1.024 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/1.862, allocations: 15.97 kB / 1.024 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/1.862, allocations: 15.92 kB / 1.024 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002269/1.862, allocations: 239.1 kB / 1.025 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/1.862, allocations: 0 / 1.025 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005281/1.863, allocations: 128 kB / 1.025 GB, free: 159.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004395/1.863, allocations: 232.3 kB / 1.025 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00046/1.864, allocations: 237.8 kB / 1.025 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.864, allocations: 4.062 kB / 1.025 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/1.864, allocations: 77.66 kB / 1.025 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/1.865, allocations: 195.8 kB / 1.025 GB, free: 159 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/1.866, allocations: 0.9519 MB / 1.026 GB, free: 158 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/1.867, allocations: 0.796 MB / 1.027 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003465/1.867, allocations: 63.19 kB / 1.027 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/1.867, allocations: 31.42 kB / 1.027 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/1.867, allocations: 0 / 1.027 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.01453/1.882, allocations: 7.024 MB / 1.034 GB, free: 150.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)