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.0009454/0.0009455, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4928/0.4928, allocations: 90.92 MB / 99.35 MB, free: 2.223 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 221.5 MB / 343.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009111/0.0009112, allocations: 90.72 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.54e-05/1.542e-05, allocations: 0 / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.14, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.269, allocations: 358.5 MB / 0.9036 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/1.27, allocations: 77.83 kB / 0.9037 GB, free: 122 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.192/1.462, allocations: 106.2 MB / 1.007 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.693e-06/1.462, allocations: 0 / 1.007 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.964e-05/1.462, allocations: 8 kB / 1.007 GB, free: 20.85 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.001101/1.463, allocations: 0.6496 MB / 1.008 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.463, allocations: 12.03 kB / 1.008 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/1.463, allocations: 51.52 kB / 1.008 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/1.476, allocations: 6.782 MB / 1.015 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/1.476, allocations: 12 kB / 1.015 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/1.476, allocations: 20 kB / 1.015 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003269/1.476, allocations: 141.1 kB / 1.015 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/1.477, allocations: 249.1 kB / 1.015 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/1.477, allocations: 0 / 1.015 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/1.477, allocations: 0 / 1.015 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/1.477, allocations: 11.98 kB / 1.015 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/1.478, allocations: 1.426 MB / 1.017 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/1.479, allocations: 122.6 kB / 1.017 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/1.479, allocations: 52.89 kB / 1.017 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/1.479, allocations: 85.06 kB / 1.017 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/1.479, allocations: 111.3 kB / 1.017 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/1.479, allocations: 224 / 1.017 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0003574/1.479, allocations: 155.1 kB / 1.017 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/1.48, allocations: 55.34 kB / 1.017 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/1.48, allocations: 273.2 kB / 1.017 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/1.48, allocations: 29.64 kB / 1.017 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.48, allocations: 219.8 kB / 1.018 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/1.48, allocations: 51.2 kB / 1.018 GB, free: 10 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/1.48, allocations: 0 / 1.018 GB, free: 10 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.584e-05/1.48, allocations: 350.8 kB / 1.018 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/1.48, allocations: 44 kB / 1.018 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.612e-05/1.48, allocations: 121.4 kB / 1.018 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/1.48, allocations: 74.66 kB / 1.018 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.48, allocations: 3.953 kB / 1.018 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003736/1.481, allocations: 229.2 kB / 1.018 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/1.481, allocations: 37.66 kB / 1.019 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.481, allocations: 0 / 1.019 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.481, allocations: 4 kB / 1.019 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/1.481, allocations: 67.89 kB / 1.019 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.481, allocations: 4 kB / 1.019 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/1.481, allocations: 36.05 kB / 1.019 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/1.482, allocations: 8 kB / 1.019 GB, free: 8.992 MB / 0.5886 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 7.659e-05/1.482, allocations: 108.9 kB / 1.019 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/1.482, allocations: 35.62 kB / 1.019 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/1.482, allocations: 156.5 kB / 1.019 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.482, allocations: 0 / 1.019 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.482, allocations: 4 kB / 1.019 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002155/1.482, allocations: 453.8 kB / 1.019 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/1.483, allocations: 305.9 kB / 1.02 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.483, allocations: 0 / 1.02 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/1.483, allocations: 31.98 kB / 1.02 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/1.483, allocations: 3.938 kB / 1.02 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/1.483, allocations: 3.984 kB / 1.02 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.483, allocations: 0 / 1.02 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.483, allocations: 7.953 kB / 1.02 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/1.483, allocations: 232.6 kB / 1.02 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/1.483, allocations: 128.6 kB / 1.02 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/1.483, allocations: 0 / 1.02 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/1.483, allocations: 19.97 kB / 1.02 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/1.484, allocations: 23.94 kB / 1.02 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/1.484, allocations: 11.92 kB / 1.02 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001688/1.484, allocations: 220.6 kB / 1.02 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.484, allocations: 0 / 1.02 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004663/1.484, allocations: 132 kB / 1.02 GB, free: 6.98 MB / 0.5886 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.0003821/1.485, allocations: 238 kB / 1.021 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002511/1.485, allocations: 183.2 kB / 1.021 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.485, allocations: 0 / 1.021 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/1.485, allocations: 48.62 kB / 1.021 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008452/1.486, allocations: 167 kB / 1.021 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/1.487, allocations: 0.5349 MB / 1.022 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/1.487, allocations: 0.8069 MB / 1.022 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000275/1.487, allocations: 59.25 kB / 1.022 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/1.487, allocations: 31.42 kB / 1.022 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of SimCode: time 1.233e-06/1.487, allocations: 4 kB / 1.022 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of Templates: time 0.347/1.834, allocations: 6.123 MB / 1.028 GB, free: 166.4 MB / 0.5886 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)