Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.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.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure") translateModel(IBPSA.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure") [: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.001064/0.001064, allocations: 188 kB / 7.808 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4508/0.4508, allocations: 90.85 MB / 99.07 MB, free: 15.05 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.225/1.225, allocations: 221.4 MB / 342.8 MB, free: 5.18 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.0009009/0.000901, allocations: 98.83 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.015e-06, allocations: 4 kB / 493.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3404, allocations: 72.31 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.952/3.293, allocations: 1.823 GB / 2.376 GB, free: 2.387 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/3.293, allocations: 83.95 kB / 2.376 GB, free: 2.305 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.205/4.498, allocations: 346.1 MB / 2.714 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.416e-05/4.498, allocations: 8 kB / 2.714 GB, free: 144.3 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001188/4.499, allocations: 0.6653 MB / 2.714 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/4.499, allocations: 8.031 kB / 2.714 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/4.5, allocations: 67.58 kB / 2.714 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/4.5, allocations: 327.7 kB / 2.715 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/4.5, allocations: 8 kB / 2.715 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/4.5, allocations: 15.28 kB / 2.715 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002151/4.5, allocations: 116.8 kB / 2.715 GB, free: 143.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/4.501, allocations: 256.5 kB / 2.715 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/4.501, allocations: 4 kB / 2.715 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/4.501, allocations: 3.938 kB / 2.715 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/4.501, allocations: 8 kB / 2.715 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/4.502, allocations: 1.672 MB / 2.717 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/4.502, allocations: 66.59 kB / 2.717 GB, free: 141 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/4.502, allocations: 60.88 kB / 2.717 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/4.503, allocations: 189.8 kB / 2.717 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/4.503, allocations: 30.56 kB / 2.717 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/4.503, allocations: 7.938 kB / 2.717 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004987/4.503, allocations: 154 kB / 2.717 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/4.503, allocations: 55.39 kB / 2.717 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/4.503, allocations: 230.5 kB / 2.718 GB, free: 140.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/4.504, allocations: 25.7 kB / 2.718 GB, free: 140.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.955e-05/4.504, allocations: 172.1 kB / 2.718 GB, free: 140 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/4.504, allocations: 35.69 kB / 2.718 GB, free: 140 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/4.504, allocations: 0 / 2.718 GB, free: 140 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/4.504, allocations: 338.7 kB / 2.718 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/4.504, allocations: 39.98 kB / 2.718 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/4.504, allocations: 190.6 kB / 2.718 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.194e-05/4.504, allocations: 66.72 kB / 2.718 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/4.504, allocations: 0 / 2.718 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002742/4.504, allocations: 196.7 kB / 2.719 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004271/4.505, allocations: 1.395 MB / 2.72 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/4.505, allocations: 0 / 2.72 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/4.505, allocations: 8 kB / 2.72 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/4.505, allocations: 58.56 kB / 2.72 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/4.505, allocations: 7.938 kB / 2.72 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/4.505, allocations: 36.47 kB / 2.72 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/4.505, allocations: 12 kB / 2.72 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/4.505, allocations: 4 kB / 2.72 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000214/4.506, allocations: 147.2 kB / 2.72 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/4.506, allocations: 0 / 2.72 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/4.506, allocations: 14.97 kB / 2.72 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/4.506, allocations: 51 kB / 2.72 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/4.506, allocations: 11.94 kB / 2.72 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/4.506, allocations: 30.55 kB / 2.72 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/4.506, allocations: 19.98 kB / 2.72 GB, free: 137.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 9.753e-05/4.506, allocations: 108.9 kB / 2.72 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/4.506, allocations: 23.72 kB / 2.72 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/4.507, allocations: 130.2 kB / 2.721 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/4.507, allocations: 3.5 kB / 2.721 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/4.507, allocations: 0 / 2.721 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/4.507, allocations: 7.984 kB / 2.721 GB, free: 137 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/4.507, allocations: 0.5401 MB / 2.721 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/4.507, allocations: 0 / 2.721 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/4.508, allocations: 35.42 kB / 2.721 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/4.508, allocations: 7.703 kB / 2.721 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/4.508, allocations: 3.984 kB / 2.721 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/4.508, allocations: 4 kB / 2.721 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/4.508, allocations: 96 / 2.721 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002813/4.508, allocations: 354.9 kB / 2.721 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.603e-05/4.508, allocations: 115.5 kB / 2.722 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/4.508, allocations: 6.906 kB / 2.722 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/4.508, allocations: 23.88 kB / 2.722 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/4.508, allocations: 7.688 kB / 2.722 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/4.508, allocations: 8 kB / 2.722 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001349/4.508, allocations: 175.1 kB / 2.722 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009712/4.509, allocations: 224.5 kB / 2.722 GB, free: 135.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001876/4.511, allocations: 1.421 MB / 2.723 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003444/4.512, allocations: 198.6 kB / 2.724 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/4.512, allocations: 7.391 kB / 2.724 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.539e-05/4.512, allocations: 51.86 kB / 2.724 GB, free: 134 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/4.512, allocations: 100 kB / 2.724 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/4.513, allocations: 349.9 kB / 2.724 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/4.513, allocations: 0.8109 MB / 2.725 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/4.513, allocations: 4 kB / 2.725 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.01801/4.531, allocations: 11.78 MB / 2.736 GB, free: 121.1 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)