Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7652/0.7652, allocations: 117.9 MB / 133.9 MB, free: 9.23 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 183.9 kB / 161.7 MB, free: 13.99 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 394.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008664/0.0008662, allocations: 87.31 kB / 470.1 MB, free: 29.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004758, allocations: 12 kB / 0.5423 GB, free: 9.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1958, allocations: 74.53 MB / 0.6151 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.238, allocations: 354.5 MB / 0.9613 GB, free: 171.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.239, allocations: 94.62 kB / 0.9614 GB, free: 171.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.2462/1.485, allocations: 98.97 MB / 1.058 GB, free: 71.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/1.485, allocations: 0 / 1.058 GB, free: 71.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.465e-05/1.485, allocations: 8 kB / 1.058 GB, free: 71.92 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002011/1.487, allocations: 0.7101 MB / 1.059 GB, free: 71.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/1.487, allocations: 16.03 kB / 1.059 GB, free: 71.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/1.487, allocations: 48.45 kB / 1.059 GB, free: 71.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01612/1.504, allocations: 5.875 MB / 1.065 GB, free: 65.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/1.504, allocations: 16.94 kB / 1.065 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/1.504, allocations: 32.73 kB / 1.065 GB, free: 65.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009934/1.505, allocations: 314.1 kB / 1.065 GB, free: 64.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/1.505, allocations: 3.906 kB / 1.065 GB, free: 64.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/1.505, allocations: 8 kB / 1.065 GB, free: 64.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/1.505, allocations: 12 kB / 1.065 GB, free: 64.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007162/1.506, allocations: 198.1 kB / 1.065 GB, free: 64.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/1.509, allocations: 1.454 MB / 1.067 GB, free: 62.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/1.509, allocations: 165.4 kB / 1.067 GB, free: 62.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/1.509, allocations: 72.81 kB / 1.067 GB, free: 62.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/1.51, allocations: 85.11 kB / 1.067 GB, free: 62.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003931/1.51, allocations: 135.2 kB / 1.067 GB, free: 62.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 4.779e-06/1.51, allocations: 0 / 1.067 GB, free: 62.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0009831/1.511, allocations: 241.2 kB / 1.067 GB, free: 62.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.511, allocations: 55.41 kB / 1.067 GB, free: 62.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005514/1.512, allocations: 329.5 kB / 1.068 GB, free: 61.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/1.512, allocations: 29.7 kB / 1.068 GB, free: 61.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/1.512, allocations: 215.8 kB / 1.068 GB, free: 61.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/1.512, allocations: 55.23 kB / 1.068 GB, free: 61.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/1.512, allocations: 4 kB / 1.068 GB, free: 61.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.512, allocations: 350.7 kB / 1.068 GB, free: 61.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/1.513, allocations: 76.12 kB / 1.068 GB, free: 61.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/1.513, allocations: 149.8 kB / 1.068 GB, free: 60.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/1.513, allocations: 251 kB / 1.069 GB, free: 60.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.513, allocations: 0 / 1.069 GB, free: 60.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007854/1.514, allocations: 317.4 kB / 1.069 GB, free: 60.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/1.514, allocations: 36.52 kB / 1.069 GB, free: 60.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.514, allocations: 0 / 1.069 GB, free: 60.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/1.514, allocations: 7.984 kB / 1.069 GB, free: 60.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/1.515, allocations: 59.91 kB / 1.069 GB, free: 60.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.515, allocations: 4 kB / 1.069 GB, free: 60.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/1.515, allocations: 43.86 kB / 1.069 GB, free: 60.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/1.515, allocations: 15.98 kB / 1.069 GB, free: 60.12 MB / 0.6198 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 (28): * Single equations (assignments): 27 * 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.0002213/1.515, allocations: 157.7 kB / 1.069 GB, free: 59.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/1.515, allocations: 27.62 kB / 1.069 GB, free: 59.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006124/1.516, allocations: 207.1 kB / 1.069 GB, free: 59.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.516, allocations: 4 kB / 1.069 GB, free: 59.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.516, allocations: 0 / 1.069 GB, free: 59.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005423/1.517, allocations: 499.6 kB / 1.07 GB, free: 59.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005671/1.517, allocations: 345.3 kB / 1.07 GB, free: 58.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.517, allocations: 0 / 1.07 GB, free: 58.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/1.518, allocations: 35.92 kB / 1.07 GB, free: 58.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.518, allocations: 0 / 1.07 GB, free: 58.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/1.518, allocations: 4 kB / 1.07 GB, free: 58.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.518, allocations: 3.984 kB / 1.07 GB, free: 58.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.518, allocations: 4 kB / 1.07 GB, free: 58.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008448/1.518, allocations: 292.5 kB / 1.071 GB, free: 58.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/1.519, allocations: 128.7 kB / 1.071 GB, free: 58.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/1.519, allocations: 4 kB / 1.071 GB, free: 58.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/1.519, allocations: 23.97 kB / 1.071 GB, free: 58.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.93e-05/1.519, allocations: 15.92 kB / 1.071 GB, free: 58.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/1.519, allocations: 15.92 kB / 1.071 GB, free: 58.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000316/1.52, allocations: 223.2 kB / 1.071 GB, free: 58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.81e-07/1.52, allocations: 3.938 kB / 1.071 GB, free: 57.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007594/1.52, allocations: 128 kB / 1.071 GB, free: 57.87 MB / 0.6198 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.0005341/1.521, allocations: 241 kB / 1.071 GB, free: 57.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006696/1.522, allocations: 237 kB / 1.072 GB, free: 57.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.522, allocations: 0 / 1.072 GB, free: 57.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/1.522, allocations: 79.83 kB / 1.072 GB, free: 57.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.523, allocations: 190.8 kB / 1.072 GB, free: 57.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/1.525, allocations: 0.9448 MB / 1.073 GB, free: 56.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/1.526, allocations: 0.7915 MB / 1.074 GB, free: 55.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004587/1.526, allocations: 63.12 kB / 1.074 GB, free: 55.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/1.526, allocations: 35.42 kB / 1.074 GB, free: 55.23 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/1.526, allocations: 0 / 1.074 GB, free: 55.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.01752/1.544, allocations: 6.916 MB / 1.08 GB, free: 48.41 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)