Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.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.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") [: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.001026/0.001026, allocations: 186.7 kB / 7.806 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.438/0.438, allocations: 90.85 MB / 99.08 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.181/1.181, 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.000907/0.0009071, allocations: 89.98 kB / 415.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.847e-06/9.037e-06, allocations: 4 kB / 493.9 MB, free: 11.56 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3057, allocations: 72.31 MB / 0.5529 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.158/3.463, allocations: 1.925 GB / 2.478 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/3.464, allocations: 88.48 kB / 2.478 GB, free: 143.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.166/5.63, allocations: 0.6662 GB / 3.145 GB, free: 92.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001181/5.63, allocations: 27 kB / 3.145 GB, free: 92.32 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003278/5.633, allocations: 1.325 MB / 3.146 GB, free: 91.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/5.633, allocations: 12.25 kB / 3.146 GB, free: 91.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/5.635, allocations: 256.5 kB / 3.146 GB, free: 91.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/5.638, allocations: 1.122 MB / 3.147 GB, free: 91.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/5.638, allocations: 29.28 kB / 3.147 GB, free: 91.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/5.638, allocations: 63.23 kB / 3.147 GB, free: 91.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001278/5.64, allocations: 0.7771 MB / 3.148 GB, free: 91.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/5.641, allocations: 0.9969 MB / 3.149 GB, free: 91.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/5.641, allocations: 12.41 kB / 3.149 GB, free: 91.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.175e-05/5.641, allocations: 3.938 kB / 3.149 GB, free: 91.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/5.641, allocations: 30.78 kB / 3.149 GB, free: 91.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004739/5.646, allocations: 5.849 MB / 3.155 GB, free: 87.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/5.646, allocations: 0.5122 MB / 3.155 GB, free: 87.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/5.647, allocations: 298.8 kB / 3.156 GB, free: 87.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000524/5.647, allocations: 313 kB / 3.156 GB, free: 86.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/5.647, allocations: 46.12 kB / 3.156 GB, free: 86.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 2.975e-06/5.647, allocations: 3.188 kB / 3.156 GB, free: 86.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.001275/5.649, allocations: 0.608 MB / 3.157 GB, free: 86.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/5.649, allocations: 58.12 kB / 3.157 GB, free: 86.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/5.649, allocations: 0.5227 MB / 3.157 GB, free: 86.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/5.649, allocations: 25.7 kB / 3.157 GB, free: 86.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/5.65, allocations: 422.5 kB / 3.158 GB, free: 86.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/5.65, allocations: 173.3 kB / 3.158 GB, free: 86.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/5.65, allocations: 3.75 kB / 3.158 GB, free: 86.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.00011/5.65, allocations: 382 kB / 3.158 GB, free: 85.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/5.65, allocations: 236.8 kB / 3.158 GB, free: 85.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/5.651, allocations: 0.5496 MB / 3.159 GB, free: 85.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/5.651, allocations: 367.8 kB / 3.159 GB, free: 85.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/5.651, allocations: 3.219 kB / 3.159 GB, free: 85.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001052/5.652, allocations: 0.7902 MB / 3.16 GB, free: 85.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/5.652, allocations: 9.062 kB / 3.16 GB, free: 85.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/5.652, allocations: 10.94 kB / 3.16 GB, free: 85.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/5.652, allocations: 14.09 kB / 3.16 GB, free: 85.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/5.653, allocations: 155.6 kB / 3.16 GB, free: 85.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/5.653, allocations: 18.72 kB / 3.16 GB, free: 85.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008988/5.654, allocations: 120 kB / 3.16 GB, free: 85.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/5.654, allocations: 29.59 kB / 3.16 GB, free: 85.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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 0.000119/5.654, allocations: 136.9 kB / 3.16 GB, free: 85.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/5.654, allocations: 78.53 kB / 3.16 GB, free: 85.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008968/5.655, allocations: 0.6057 MB / 3.161 GB, free: 85.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/5.655, allocations: 5.688 kB / 3.161 GB, free: 85.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/5.655, allocations: 3.438 kB / 3.161 GB, free: 85.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000658/5.656, allocations: 0.5287 MB / 3.162 GB, free: 85.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/5.658, allocations: 1.555 MB / 3.163 GB, free: 84.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/5.658, allocations: 2.5 kB / 3.163 GB, free: 84.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/5.658, allocations: 108.9 kB / 3.163 GB, free: 84.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/5.658, allocations: 3.25 kB / 3.163 GB, free: 84.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/5.658, allocations: 10.16 kB / 3.163 GB, free: 84.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/5.658, allocations: 3.562 kB / 3.163 GB, free: 84.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/5.658, allocations: 8.844 kB / 3.163 GB, free: 84.88 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001131/5.66, allocations: 1.084 MB / 3.164 GB, free: 84.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/5.66, allocations: 218.8 kB / 3.165 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/5.66, allocations: 6.641 kB / 3.165 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/5.661, allocations: 53.67 kB / 3.165 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/5.661, allocations: 31.36 kB / 3.165 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/5.661, allocations: 14.75 kB / 3.165 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003983/5.661, allocations: 406.2 kB / 3.165 GB, free: 84.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001321/5.662, allocations: 427.9 kB / 3.165 GB, free: 84.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.002554/5.665, allocations: 2.143 MB / 3.168 GB, free: 83.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008515/5.666, allocations: 0.5673 MB / 3.168 GB, free: 83.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/5.666, allocations: 4.219 kB / 3.168 GB, free: 83.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000346/5.666, allocations: 266.1 kB / 3.168 GB, free: 83.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/5.668, allocations: 353.3 kB / 3.169 GB, free: 83.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/5.67, allocations: 1.496 MB / 3.17 GB, free: 83.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006695/5.671, allocations: 1.22 MB / 3.171 GB, free: 82.59 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/5.671, allocations: 0 / 3.171 GB, free: 82.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.03609/5.707, allocations: 23.97 MB / 3.195 GB, free: 81.49 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)