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 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.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.00102/0.00102, allocations: 182 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4922/0.4922, allocations: 90.81 MB / 104.5 MB, free: 13.87 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.422/1.422, allocations: 221.3 MB / 348.3 MB, free: 12.58 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.0008549/0.0008549, allocations: 97.77 kB / 421.2 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.809e-05/4.819e-05, allocations: 0 / 0.4896 GB, free: 46.64 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1422, allocations: 72.32 MB / 0.5602 GB, free: 6.414 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.203, allocations: 359.2 MB / 0.911 GB, free: 113.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/1.203, allocations: 87.7 kB / 0.9111 GB, free: 113.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1955/1.399, allocations: 106.7 MB / 1.015 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.503e-06/1.399, allocations: 0 / 1.015 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.241e-05/1.399, allocations: 15.94 kB / 1.015 GB, free: 9.328 MB / 0.5886 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.001037/1.4, allocations: 0.6577 MB / 1.016 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.4, allocations: 11.98 kB / 1.016 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/1.4, allocations: 51.44 kB / 1.016 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/1.413, allocations: 6.808 MB / 1.023 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/1.413, allocations: 24.55 kB / 1.023 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.523e-05/1.413, allocations: 27.94 kB / 1.023 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/1.414, allocations: 286.3 kB / 1.023 GB, free: 1.289 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/1.414, allocations: 7.859 kB / 1.023 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/1.414, allocations: 12 kB / 1.023 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/1.414, allocations: 8 kB / 1.023 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/1.414, allocations: 158.2 kB / 1.023 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/1.416, allocations: 1.481 MB / 1.025 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/1.416, allocations: 130.6 kB / 1.025 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.612e-05/1.416, allocations: 52.86 kB / 1.025 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/1.416, allocations: 93.08 kB / 1.025 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/1.416, allocations: 111.3 kB / 1.025 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.923e-06/1.416, allocations: 224 / 1.025 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003526/1.417, allocations: 156 kB / 1.025 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/1.417, allocations: 67.31 kB / 1.025 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/1.417, allocations: 307.6 kB / 1.025 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/1.417, allocations: 29.7 kB / 1.026 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/1.417, allocations: 215.9 kB / 1.026 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/1.417, allocations: 51.27 kB / 1.026 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/1.417, allocations: 8 kB / 1.026 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.418, allocations: 338.8 kB / 1.026 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/1.418, allocations: 52 kB / 1.026 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/1.418, allocations: 133.4 kB / 1.026 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/1.418, allocations: 103.9 kB / 1.026 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.418, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004134/1.418, allocations: 282.8 kB / 1.027 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/1.418, allocations: 37.7 kB / 1.027 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.418, allocations: 0 / 1.027 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/1.419, allocations: 4 kB / 1.027 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/1.419, allocations: 55.91 kB / 1.027 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.419, allocations: 4 kB / 1.027 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/1.419, allocations: 47.83 kB / 1.027 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/1.419, allocations: 15.98 kB / 1.027 GB, free: 13.11 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 () * 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 8.625e-05/1.419, allocations: 116.9 kB / 1.027 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/1.419, allocations: 39.58 kB / 1.027 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/1.42, allocations: 160.7 kB / 1.027 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.42, allocations: 4 kB / 1.027 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.42, allocations: 0 / 1.027 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003007/1.42, allocations: 464 kB / 1.028 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/1.42, allocations: 349.3 kB / 1.028 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.42, allocations: 0 / 1.028 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/1.421, allocations: 43.91 kB / 1.028 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/1.421, allocations: 11.83 kB / 1.028 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/1.421, allocations: 4 kB / 1.028 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.421, allocations: 0 / 1.028 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.421, allocations: 0 / 1.028 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/1.421, allocations: 242.8 kB / 1.028 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/1.421, allocations: 132.7 kB / 1.028 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/1.421, allocations: 7.953 kB / 1.028 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/1.422, allocations: 19.98 kB / 1.028 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/1.422, allocations: 11.97 kB / 1.028 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/1.422, allocations: 12 kB / 1.028 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002523/1.422, allocations: 250.1 kB / 1.029 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/1.422, allocations: 0 / 1.029 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004816/1.422, allocations: 140 kB / 1.029 GB, free: 10.96 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) * 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.0004259/1.423, allocations: 236.3 kB / 1.029 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003021/1.423, allocations: 195.2 kB / 1.029 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.423, allocations: 4 kB / 1.029 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/1.423, allocations: 52.55 kB / 1.029 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/1.424, allocations: 201 kB / 1.029 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/1.425, allocations: 0.5379 MB / 1.03 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/1.426, allocations: 0.8001 MB / 1.031 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002845/1.426, allocations: 63.27 kB / 1.031 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/1.426, allocations: 39.36 kB / 1.031 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/1.426, allocations: 0 / 1.031 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of Templates: time 0.01467/1.441, allocations: 7.334 MB / 1.038 GB, free: 1.516 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)