Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") [: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.001056/0.001056, allocations: 190.1 kB / 7.804 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.4567/0.4567, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.291/1.291, allocations: 221.4 MB / 342.8 MB, free: 5.207 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.001057/0.001057, allocations: 103.2 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.495e-05/1.512e-05, allocations: 4 kB / 493.9 MB, free: 8.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4032, allocations: 72.29 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.331/3.734, allocations: 1.931 GB / 2.483 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/3.734, allocations: 95.94 kB / 2.484 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.009/5.744, allocations: 0.6382 GB / 3.122 GB, free: 91.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001016/5.744, allocations: 32.28 kB / 3.122 GB, free: 91.63 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003126/5.747, allocations: 1.473 MB / 3.123 GB, free: 90.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/5.747, allocations: 10.77 kB / 3.123 GB, free: 90.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/5.749, allocations: 341.1 kB / 3.124 GB, free: 90.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/5.752, allocations: 1.21 MB / 3.125 GB, free: 90.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/5.752, allocations: 33.38 kB / 3.125 GB, free: 90.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/5.752, allocations: 63.34 kB / 3.125 GB, free: 90.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001384/5.754, allocations: 0.8632 MB / 3.126 GB, free: 90.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/5.755, allocations: 1.023 MB / 3.127 GB, free: 90.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/5.755, allocations: 0 / 3.127 GB, free: 90.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/5.755, allocations: 2.625 kB / 3.127 GB, free: 90.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/5.755, allocations: 35.53 kB / 3.127 GB, free: 90.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004838/5.76, allocations: 4.844 MB / 3.131 GB, free: 87.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009152/5.761, allocations: 0.6576 MB / 3.132 GB, free: 87.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/5.761, allocations: 356.2 kB / 3.132 GB, free: 87.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000564/5.762, allocations: 402.7 kB / 3.133 GB, free: 87.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/5.762, allocations: 41.5 kB / 3.133 GB, free: 87.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=68): time 2.585e-06/5.762, allocations: 3.75 kB / 3.133 GB, free: 87.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68): time 0.001816/5.764, allocations: 0.7964 MB / 3.134 GB, free: 87.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/5.764, allocations: 111.2 kB / 3.134 GB, free: 87.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006348/5.765, allocations: 0.565 MB / 3.134 GB, free: 86.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/5.765, allocations: 25.7 kB / 3.134 GB, free: 86.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/5.765, allocations: 420.7 kB / 3.135 GB, free: 86.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/5.765, allocations: 237.2 kB / 3.135 GB, free: 86.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/5.765, allocations: 4.906 kB / 3.135 GB, free: 86.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.352e-05/5.765, allocations: 335.1 kB / 3.135 GB, free: 86.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/5.765, allocations: 260.1 kB / 3.136 GB, free: 86.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/5.766, allocations: 488.3 kB / 3.136 GB, free: 85.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/5.767, allocations: 438.5 kB / 3.136 GB, free: 85.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/5.767, allocations: 3.344 kB / 3.136 GB, free: 85.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001344/5.768, allocations: 0.8857 MB / 3.137 GB, free: 85.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003311/5.768, allocations: 1.748 MB / 3.139 GB, free: 84.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/5.768, allocations: 3.75 kB / 3.139 GB, free: 84.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/5.768, allocations: 11.56 kB / 3.139 GB, free: 84.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008407/5.769, allocations: 187 kB / 3.139 GB, free: 84.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003162/5.77, allocations: 0.6055 MB / 3.14 GB, free: 83.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/5.771, allocations: 126 kB / 3.14 GB, free: 83.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/5.771, allocations: 29.97 kB / 3.14 GB, free: 83.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/5.771, allocations: 3.75 kB / 3.14 GB, free: 83.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/5.772, allocations: 0.7651 MB / 3.141 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/5.772, allocations: 2.906 kB / 3.141 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/5.772, allocations: 13.34 kB / 3.141 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/5.773, allocations: 169.7 kB / 3.141 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/5.773, allocations: 13.03 kB / 3.141 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008328/5.773, allocations: 116.1 kB / 3.141 GB, free: 83.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/5.774, allocations: 33.22 kB / 3.141 GB, free: 83.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001705/5.774, allocations: 124.2 kB / 3.141 GB, free: 83.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/5.774, allocations: 96.06 kB / 3.141 GB, free: 83.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/5.775, allocations: 0.8001 MB / 3.142 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/5.775, allocations: 6.844 kB / 3.142 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/5.775, allocations: 0 / 3.142 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/5.776, allocations: 0.9125 MB / 3.143 GB, free: 82.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/5.78, allocations: 1.993 MB / 3.145 GB, free: 82.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/5.78, allocations: 6.328 kB / 3.145 GB, free: 82.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/5.78, allocations: 155.8 kB / 3.145 GB, free: 82.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/5.78, allocations: 10.72 kB / 3.145 GB, free: 82.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/5.78, allocations: 8.844 kB / 3.145 GB, free: 82.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002103/5.781, allocations: 0.5997 MB / 3.146 GB, free: 81.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/5.781, allocations: 7.156 kB / 3.146 GB, free: 81.73 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001657/5.782, allocations: 1.376 MB / 3.147 GB, free: 81.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/5.783, allocations: 246 kB / 3.147 GB, free: 81.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/5.783, allocations: 7.719 kB / 3.147 GB, free: 81.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/5.784, allocations: 71.73 kB / 3.147 GB, free: 81.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/5.784, allocations: 43.78 kB / 3.147 GB, free: 81.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/5.784, allocations: 21.66 kB / 3.147 GB, free: 81.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004905/5.784, allocations: 439.6 kB / 3.148 GB, free: 81.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001778/5.786, allocations: 0.6843 MB / 3.148 GB, free: 80.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002605/5.789, allocations: 2.082 MB / 3.15 GB, free: 80.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002256/5.791, allocations: 1.081 MB / 3.152 GB, free: 80.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/5.791, allocations: 3.938 kB / 3.152 GB, free: 80.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005484/5.791, allocations: 335.4 kB / 3.152 GB, free: 80.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/5.794, allocations: 407 kB / 3.152 GB, free: 80.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/5.797, allocations: 1.762 MB / 3.154 GB, free: 79.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008964/5.798, allocations: 1.283 MB / 3.155 GB, free: 79.18 MB / 0.6042 GB Notification: Performance of SimCode: time 7.21e-07/5.798, allocations: 0 / 3.155 GB, free: 79.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.04692/5.845, allocations: 29.8 MB / 3.184 GB, free: 77.82 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)