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.001271/0.001271, allocations: 183.2 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.4764/0.4764, allocations: 91.99 MB / 108.5 MB, free: 13.08 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.516/1.516, allocations: 223.2 MB / 354.3 MB, free: 10.43 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.0009651/0.000965, allocations: 103.1 kB / 427.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004542, allocations: 8 kB / 0.4982 GB, free: 42.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1665, allocations: 72.31 MB / 0.5689 GB, free: 1.711 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.412, allocations: 359.2 MB / 0.9197 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/1.412, allocations: 90.08 kB / 0.9198 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.246/1.658, allocations: 107 MB / 1.024 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.805e-06/1.658, allocations: 0 / 1.024 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.823e-05/1.658, allocations: 12 kB / 1.024 GB, free: 2.543 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.00252/1.661, allocations: 0.72 MB / 1.025 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 8.655e-05/1.661, allocations: 12.02 kB / 1.025 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004885/1.661, allocations: 43.53 kB / 1.025 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01987/1.681, allocations: 6.865 MB / 1.032 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.06e-05/1.681, allocations: 20.56 kB / 1.032 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/1.682, allocations: 28 kB / 1.032 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/1.683, allocations: 306.2 kB / 1.032 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/1.683, allocations: 3.953 kB / 1.032 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/1.683, allocations: 12 kB / 1.032 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/1.683, allocations: 12.2 kB / 1.032 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006421/1.683, allocations: 202.1 kB / 1.032 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/1.687, allocations: 1.501 MB / 1.034 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/1.687, allocations: 170.6 kB / 1.034 GB, free: 8.348 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/1.687, allocations: 85.09 kB / 1.034 GB, free: 8.246 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/1.688, allocations: 128.2 kB / 1.034 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 4.648e-06/1.688, allocations: 0 / 1.034 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0008189/1.689, allocations: 254.5 kB / 1.034 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.689, allocations: 51.41 kB / 1.034 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/1.689, allocations: 316.8 kB / 1.035 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/1.689, allocations: 37.7 kB / 1.035 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/1.689, allocations: 211.8 kB / 1.035 GB, free: 7.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/1.689, allocations: 51.3 kB / 1.035 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/1.69, allocations: 4 kB / 1.035 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.69, allocations: 338.8 kB / 1.035 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/1.69, allocations: 76.31 kB / 1.035 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/1.69, allocations: 153.3 kB / 1.036 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/1.69, allocations: 117.6 kB / 1.036 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.69, allocations: 0 / 1.036 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006778/1.691, allocations: 322.6 kB / 1.036 GB, free: 6.129 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/1.691, allocations: 30.02 kB / 1.036 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.691, allocations: 11.98 kB / 1.036 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.691, allocations: 4 kB / 1.036 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/1.691, allocations: 59.91 kB / 1.036 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.691, allocations: 4 kB / 1.036 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/1.692, allocations: 47.67 kB / 1.036 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/1.692, allocations: 15.94 kB / 1.036 GB, free: 5.953 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.0002194/1.692, allocations: 160.2 kB / 1.036 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.653e-05/1.692, allocations: 39.52 kB / 1.036 GB, free: 5.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005114/1.693, allocations: 214.7 kB / 1.037 GB, free: 5.535 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.693, allocations: 4 kB / 1.037 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.693, allocations: 0 / 1.037 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005202/1.693, allocations: 491.8 kB / 1.037 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/1.694, allocations: 357.3 kB / 1.037 GB, free: 4.566 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.694, allocations: 0 / 1.037 GB, free: 4.566 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/1.694, allocations: 39.92 kB / 1.037 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/1.694, allocations: 3.984 kB / 1.037 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/1.694, allocations: 11.94 kB / 1.037 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.694, allocations: 4 kB / 1.037 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.694, allocations: 0 / 1.037 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006529/1.695, allocations: 290.7 kB / 1.038 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/1.695, allocations: 132.7 kB / 1.038 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/1.695, allocations: 4 kB / 1.038 GB, free: 4.055 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/1.695, allocations: 27.84 kB / 1.038 GB, free: 4.027 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/1.695, allocations: 19.97 kB / 1.038 GB, free: 4.008 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/1.695, allocations: 7.984 kB / 1.038 GB, free: 4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003475/1.696, allocations: 251.2 kB / 1.038 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/1.696, allocations: 0 / 1.038 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006107/1.696, allocations: 140 kB / 1.038 GB, free: 3.621 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.0005262/1.697, allocations: 242.3 kB / 1.039 GB, free: 3.375 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005471/1.698, allocations: 231.2 kB / 1.039 GB, free: 3.137 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.698, allocations: 0 / 1.039 GB, free: 3.137 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/1.698, allocations: 84.52 kB / 1.039 GB, free: 3.055 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/1.699, allocations: 198.8 kB / 1.039 GB, free: 2.863 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/1.7, allocations: 0.9481 MB / 1.04 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/1.701, allocations: 0.7962 MB / 1.041 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003413/1.701, allocations: 71.17 kB / 1.041 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.657e-05/1.701, allocations: 27.44 kB / 1.041 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of SimCode: time 9.21e-07/1.701, allocations: 0 / 1.041 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of Templates: time 0.3768/2.078, allocations: 7.168 MB / 1.048 GB, free: 176 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)