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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8428/0.8428, allocations: 128.8 MB / 143.7 MB, free: 2.324 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.001216/0.001216, allocations: 178.3 kB / 173.8 MB, free: 6.109 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.745/1.745, allocations: 205.4 MB / 409 MB, free: 10.49 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.000785/0.0007853, allocations: 94.66 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002988, allocations: 13.25 kB / 0.5603 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7227/0.8709, allocations: 355.6 MB / 0.9826 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/0.8713, allocations: 94.25 kB / 0.9826 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5464/1.418, allocations: 99.62 MB / 1.08 GB, free: 175.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.513e-06/1.418, allocations: 4 kB / 1.08 GB, free: 175.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.764e-05/1.418, allocations: 12 kB / 1.08 GB, free: 175.4 MB / 0.6511 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.00113/1.419, allocations: 0.7124 MB / 1.081 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.419, allocations: 8.031 kB / 1.081 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/1.419, allocations: 47.52 kB / 1.081 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/1.431, allocations: 6.528 MB / 1.087 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/1.431, allocations: 24.56 kB / 1.087 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/1.431, allocations: 28 kB / 1.087 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/1.432, allocations: 306.2 kB / 1.087 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/1.432, allocations: 0 / 1.087 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/1.432, allocations: 19.95 kB / 1.087 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/1.432, allocations: 8 kB / 1.087 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/1.432, allocations: 198.1 kB / 1.088 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/1.434, allocations: 1.466 MB / 1.089 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/1.434, allocations: 174.5 kB / 1.089 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/1.434, allocations: 85.06 kB / 1.089 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/1.435, allocations: 127.3 kB / 1.089 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/1.435, allocations: 0 / 1.089 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005854/1.435, allocations: 250.9 kB / 1.09 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/1.435, allocations: 55.41 kB / 1.09 GB, free: 165 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/1.436, allocations: 308.9 kB / 1.09 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/1.436, allocations: 25.7 kB / 1.09 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/1.436, allocations: 223.7 kB / 1.09 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/1.436, allocations: 51.2 kB / 1.09 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/1.436, allocations: 12 kB / 1.09 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.03e-05/1.436, allocations: 334.8 kB / 1.091 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/1.436, allocations: 72.19 kB / 1.091 GB, free: 164 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/1.436, allocations: 156.1 kB / 1.091 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/1.436, allocations: 117.7 kB / 1.091 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.436, allocations: 4 kB / 1.091 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004993/1.437, allocations: 311.5 kB / 1.091 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/1.437, allocations: 33.7 kB / 1.091 GB, free: 163.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.437, allocations: 7.984 kB / 1.091 GB, free: 163.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.437, allocations: 4 kB / 1.091 GB, free: 163.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/1.437, allocations: 64.22 kB / 1.091 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.437, allocations: 11.94 kB / 1.091 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/1.438, allocations: 39.67 kB / 1.091 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/1.438, allocations: 8 kB / 1.091 GB, free: 163.2 MB / 0.6511 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.00015/1.438, allocations: 153.8 kB / 1.092 GB, free: 163 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/1.438, allocations: 35.61 kB / 1.092 GB, free: 163 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/1.438, allocations: 206.7 kB / 1.092 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.438, allocations: 0 / 1.092 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.438, allocations: 0 / 1.092 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003612/1.439, allocations: 0.4918 MB / 1.092 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/1.439, allocations: 341.4 kB / 1.093 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.439, allocations: 0 / 1.093 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/1.439, allocations: 39.91 kB / 1.093 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.439, allocations: 0 / 1.093 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/1.439, allocations: 7.938 kB / 1.093 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.439, allocations: 4 kB / 1.093 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.439, allocations: 0 / 1.093 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/1.44, allocations: 308.4 kB / 1.093 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/1.44, allocations: 120.8 kB / 1.093 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/1.44, allocations: 8 kB / 1.093 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/1.44, allocations: 23.91 kB / 1.093 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/1.44, allocations: 11.98 kB / 1.093 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/1.44, allocations: 7.984 kB / 1.093 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002163/1.44, allocations: 251.2 kB / 1.093 GB, free: 161 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.44, allocations: 0 / 1.093 GB, free: 161 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004794/1.441, allocations: 132 kB / 1.093 GB, free: 160.9 MB / 0.6511 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.0003465/1.441, allocations: 247.3 kB / 1.094 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004282/1.442, allocations: 247.4 kB / 1.094 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.442, allocations: 0 / 1.094 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/1.442, allocations: 68.53 kB / 1.094 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008414/1.443, allocations: 200.8 kB / 1.094 GB, free: 160.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/1.444, allocations: 0.9441 MB / 1.095 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/1.444, allocations: 0.7994 MB / 1.096 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003005/1.445, allocations: 67.19 kB / 1.096 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/1.445, allocations: 35.36 kB / 1.096 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of SimCode: time 4.2e-07/1.445, allocations: 0 / 1.096 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.01218/1.457, allocations: 7.078 MB / 1.103 GB, free: 151.2 MB / 0.6511 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)