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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 185.5 kB / 7.801 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4365/0.4365, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.157/1.157, allocations: 221.4 MB / 342.8 MB, free: 5.105 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.0009772/0.0009771, allocations: 100.5 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.202e-06/6.222e-06, allocations: 0 / 493.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3311, allocations: 72.3 MB / 0.5529 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5111/0.8423, allocations: 358.4 MB / 0.9029 GB, free: 15.82 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.8425, allocations: 87.58 kB / 0.903 GB, free: 15.78 MB / 0.573 GB Notification: Performance of FrontEnd: time 0.4566/1.299, allocations: 106.6 MB / 1.007 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.477e-05/1.299, allocations: 7.875 kB / 1.007 GB, free: 168.9 MB / 0.6042 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.001056/1.3, allocations: 0.6588 MB / 1.008 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.3, allocations: 8.547 kB / 1.008 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/1.301, allocations: 48.22 kB / 1.008 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/1.315, allocations: 6.853 MB / 1.014 GB, free: 166 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/1.315, allocations: 7.812 kB / 1.014 GB, free: 166 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/1.315, allocations: 15.62 kB / 1.014 GB, free: 166 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003192/1.315, allocations: 135.3 kB / 1.015 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/1.315, allocations: 254.4 kB / 1.015 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/1.316, allocations: 0 / 1.015 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/1.316, allocations: 3.906 kB / 1.015 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/1.316, allocations: 3.906 kB / 1.015 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/1.317, allocations: 1.423 MB / 1.016 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/1.317, allocations: 120.7 kB / 1.016 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/1.318, allocations: 47.83 kB / 1.016 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/1.318, allocations: 84.86 kB / 1.017 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/1.318, allocations: 102.2 kB / 1.017 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/1.318, allocations: 4 kB / 1.017 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003134/1.318, allocations: 135.8 kB / 1.017 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/1.318, allocations: 51.41 kB / 1.017 GB, free: 164 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/1.318, allocations: 289 kB / 1.017 GB, free: 163.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/1.318, allocations: 25.7 kB / 1.017 GB, free: 163.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/1.319, allocations: 179.3 kB / 1.017 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/1.319, allocations: 51.22 kB / 1.017 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/1.319, allocations: 3.906 kB / 1.017 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.655e-05/1.319, allocations: 342.6 kB / 1.018 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/1.319, allocations: 47.34 kB / 1.018 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/1.319, allocations: 120.6 kB / 1.018 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/1.319, allocations: 90.62 kB / 1.018 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.319, allocations: 0 / 1.018 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003634/1.319, allocations: 221.3 kB / 1.018 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.319, allocations: 3.938 kB / 1.018 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.319, allocations: 3.906 kB / 1.018 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.32, allocations: 3.969 kB / 1.018 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/1.32, allocations: 66.89 kB / 1.018 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.32, allocations: 4.156 kB / 1.018 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/1.32, allocations: 35.36 kB / 1.018 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/1.32, allocations: 7.812 kB / 1.018 GB, free: 162.9 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 7.02e-05/1.32, allocations: 116.8 kB / 1.018 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/1.32, allocations: 35.38 kB / 1.018 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/1.32, allocations: 146.4 kB / 1.019 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.32, allocations: 3.906 kB / 1.019 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.321, allocations: 0 / 1.019 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002178/1.321, allocations: 454.4 kB / 1.019 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/1.321, allocations: 311.9 kB / 1.019 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.321, allocations: 0 / 1.019 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/1.321, allocations: 35.42 kB / 1.019 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/1.321, allocations: 3.906 kB / 1.019 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/1.321, allocations: 3.984 kB / 1.019 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.321, allocations: 0 / 1.019 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.321, allocations: 4 kB / 1.019 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002945/1.322, allocations: 226 kB / 1.019 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/1.322, allocations: 128.5 kB / 1.02 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/1.322, allocations: 7.906 kB / 1.02 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/1.322, allocations: 23.59 kB / 1.02 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/1.322, allocations: 11.8 kB / 1.02 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/1.322, allocations: 11.7 kB / 1.02 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001659/1.322, allocations: 213 kB / 1.02 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004547/1.323, allocations: 137.1 kB / 1.02 GB, free: 161.4 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.0003516/1.323, allocations: 249.8 kB / 1.02 GB, free: 161.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002368/1.323, allocations: 155.5 kB / 1.02 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.323, allocations: 0 / 1.02 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/1.323, allocations: 59.08 kB / 1.02 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008023/1.324, allocations: 165.5 kB / 1.021 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009708/1.325, allocations: 0.5272 MB / 1.021 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/1.326, allocations: 0.8401 MB / 1.022 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/1.326, allocations: 0 / 1.022 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.01005/1.336, allocations: 6.288 MB / 1.028 GB, free: 156.8 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)