Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00213/0.00213, allocations: 174.1 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6015/0.6015, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.132/1.132, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008158/0.0008158, allocations: 105.3 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.872e-06, allocations: 3 kB / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.812/2.921, allocations: 1.94 GB / 2.573 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/2.921, allocations: 95.89 kB / 2.573 GB, free: 20.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.829/4.75, allocations: 0.6366 GB / 3.21 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.805e-05/4.75, allocations: 37.16 kB / 3.21 GB, free: 118.8 MB / 0.6823 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.002199/4.752, allocations: 1.473 MB / 3.211 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/4.752, allocations: 9.438 kB / 3.211 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/4.754, allocations: 336.9 kB / 3.212 GB, free: 118 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/4.756, allocations: 1.208 MB / 3.213 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/4.756, allocations: 33.94 kB / 3.213 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/4.756, allocations: 61.5 kB / 3.213 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001165/4.758, allocations: 0.8634 MB / 3.214 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/4.759, allocations: 1.022 MB / 3.215 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/4.759, allocations: 0 / 3.215 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-05/4.759, allocations: 0 / 3.215 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/4.759, allocations: 40.44 kB / 3.215 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/4.763, allocations: 4.709 MB / 3.22 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/4.764, allocations: 0.6485 MB / 3.22 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/4.764, allocations: 363.3 kB / 3.221 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004685/4.764, allocations: 403.8 kB / 3.221 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/4.764, allocations: 39.91 kB / 3.221 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 2.014e-06/4.764, allocations: 0 / 3.221 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001558/4.766, allocations: 0.7902 MB / 3.222 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/4.766, allocations: 109.8 kB / 3.222 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/4.767, allocations: 0.565 MB / 3.222 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/4.767, allocations: 29.64 kB / 3.222 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/4.767, allocations: 423.2 kB / 3.223 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/4.767, allocations: 236.2 kB / 3.223 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/4.767, allocations: 0 / 3.223 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.628e-05/4.767, allocations: 336.8 kB / 3.223 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/4.767, allocations: 259.9 kB / 3.224 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/4.768, allocations: 491.3 kB / 3.224 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/4.768, allocations: 430.3 kB / 3.224 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/4.768, allocations: 6 kB / 3.224 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001195/4.77, allocations: 0.8941 MB / 3.225 GB, free: 113 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002382/4.77, allocations: 1.742 MB / 3.227 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/4.77, allocations: 7.188 kB / 3.227 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/4.77, allocations: 10.62 kB / 3.227 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/4.771, allocations: 186.1 kB / 3.227 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002577/4.771, allocations: 0.6019 MB / 3.228 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008021/4.772, allocations: 115.3 kB / 3.228 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/4.772, allocations: 36.95 kB / 3.228 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-06/4.772, allocations: 3.688 kB / 3.228 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00108/4.773, allocations: 0.7676 MB / 3.229 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/4.773, allocations: 7.844 kB / 3.229 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/4.773, allocations: 6.844 kB / 3.229 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/4.773, allocations: 171.5 kB / 3.229 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/4.773, allocations: 11.88 kB / 3.229 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006911/4.774, allocations: 102.1 kB / 3.229 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/4.774, allocations: 36.06 kB / 3.229 GB, free: 110.5 MB / 0.6823 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.0001213/4.774, allocations: 127 kB / 3.229 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/4.775, allocations: 99.69 kB / 3.229 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/4.776, allocations: 0.7928 MB / 3.23 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/4.776, allocations: 7.469 kB / 3.23 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/4.776, allocations: 3.938 kB / 3.23 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009487/4.777, allocations: 0.8965 MB / 3.231 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/4.779, allocations: 1.999 MB / 3.233 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/4.779, allocations: 3.938 kB / 3.233 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/4.78, allocations: 160.8 kB / 3.233 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/4.78, allocations: 7.188 kB / 3.233 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/4.78, allocations: 11.36 kB / 3.233 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001816/4.78, allocations: 0.6019 MB / 3.234 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/4.78, allocations: 2.625 kB / 3.234 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001446/4.782, allocations: 1.413 MB / 3.235 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/4.782, allocations: 243.4 kB / 3.235 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/4.782, allocations: 13.56 kB / 3.235 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/4.783, allocations: 62.59 kB / 3.235 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/4.783, allocations: 43.17 kB / 3.235 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/4.783, allocations: 26.27 kB / 3.235 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003939/4.783, allocations: 438.8 kB / 3.236 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001384/4.785, allocations: 0.6753 MB / 3.236 GB, free: 108.1 MB / 0.6823 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.U,vol.dynBal.m,vol.dynBal.mXi[1],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.001901/4.787, allocations: 2.101 MB / 3.239 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001404/4.788, allocations: 1.068 MB / 3.24 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/4.788, allocations: 7.688 kB / 3.24 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003951/4.789, allocations: 336.6 kB / 3.24 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/4.79, allocations: 397.6 kB / 3.24 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/4.793, allocations: 1.761 MB / 3.242 GB, free: 107 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006972/4.793, allocations: 1.281 MB / 3.243 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/4.793, allocations: 0 / 3.243 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.04369/4.837, allocations: 29.8 MB / 3.272 GB, free: 101.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)