Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.5575/0.5575, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001211/0.001211, allocations: 175.9 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.327/1.327, allocations: 170.5 MB / 319 MB, free: 9.43 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001801/0.001801, allocations: 103.1 kB / 381 MB, free: 18.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.927e-06/9.067e-06, allocations: 4 kB / 448.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1465, allocations: 61.52 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.35/1.497, allocations: 452.4 MB / 0.9399 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.497, allocations: 96.34 kB / 0.94 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.8379/2.335, allocations: 256.1 MB / 1.19 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001969/2.335, allocations: 30.23 kB / 1.19 GB, free: 109.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.004502/2.34, allocations: 1.42 MB / 1.192 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/2.34, allocations: 15.45 kB / 1.192 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/2.341, allocations: 155.6 kB / 1.192 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/2.345, allocations: 0.9731 MB / 1.193 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/2.345, allocations: 32.31 kB / 1.193 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/2.345, allocations: 60.52 kB / 1.193 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001908/2.347, allocations: 0.7131 MB / 1.193 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/2.349, allocations: 0.8998 MB / 1.194 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/2.349, allocations: 0.8438 kB / 1.194 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.038e-05/2.349, allocations: 4.719 kB / 1.194 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/2.35, allocations: 22.44 kB / 1.194 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006675/2.356, allocations: 4.211 MB / 1.198 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/2.357, allocations: 376.8 kB / 1.199 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/2.357, allocations: 261.4 kB / 1.199 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003348/2.361, allocations: 1.801 MB / 1.201 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/2.361, allocations: 46.86 kB / 1.201 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=57): time 3.506e-06/2.361, allocations: 3.062 kB / 1.201 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=62): time 0.005008/2.366, allocations: 1.837 MB / 1.203 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/2.366, allocations: 162.4 kB / 1.203 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/2.367, allocations: 0.5961 MB / 1.203 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/2.367, allocations: 29.58 kB / 1.203 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/2.367, allocations: 428.5 kB / 1.204 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/2.367, allocations: 216.1 kB / 1.204 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/2.367, allocations: 3.969 kB / 1.204 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001231/2.367, allocations: 337.7 kB / 1.204 GB, free: 99.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/2.368, allocations: 268.1 kB / 1.205 GB, free: 99.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/2.368, allocations: 0.4997 MB / 1.205 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/2.37, allocations: 0.4982 MB / 1.206 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/2.37, allocations: 3.938 kB / 1.206 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001859/2.371, allocations: 1.01 MB / 1.207 GB, free: 98.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007559/2.372, allocations: 2.521 MB / 1.209 GB, free: 95.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/2.372, allocations: 7.688 kB / 1.209 GB, free: 95.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/2.372, allocations: 16.06 kB / 1.209 GB, free: 95.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/2.373, allocations: 230.6 kB / 1.209 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004163/2.374, allocations: 0.6223 MB / 1.21 GB, free: 95.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008784/2.375, allocations: 93.23 kB / 1.21 GB, free: 95.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/2.375, allocations: 33.19 kB / 1.21 GB, free: 95.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-06/2.375, allocations: 3.875 kB / 1.21 GB, free: 95.25 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001634/2.376, allocations: 0.8705 MB / 1.211 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/2.376, allocations: 8.75 kB / 1.211 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/2.376, allocations: 12.47 kB / 1.211 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/2.377, allocations: 202.8 kB / 1.211 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/2.377, allocations: 24.97 kB / 1.211 GB, free: 94.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/2.378, allocations: 71.22 kB / 1.211 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/2.378, allocations: 44.3 kB / 1.211 GB, free: 94.78 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 4 * 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.0001789/2.378, allocations: 125.5 kB / 1.211 GB, free: 94.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/2.378, allocations: 96.47 kB / 1.211 GB, free: 94.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/2.38, allocations: 0.8139 MB / 1.212 GB, free: 94.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/2.38, allocations: 6.625 kB / 1.212 GB, free: 94.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.38, allocations: 0.8125 kB / 1.212 GB, free: 94.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/2.38, allocations: 3.984 kB / 1.212 GB, free: 94.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/2.383, allocations: 1.564 MB / 1.214 GB, free: 93.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/2.383, allocations: 0 / 1.214 GB, free: 93.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/2.383, allocations: 159.4 kB / 1.214 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/2.383, allocations: 3.875 kB / 1.214 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/2.383, allocations: 12.61 kB / 1.214 GB, free: 93.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003341/2.384, allocations: 0.6078 MB / 1.214 GB, free: 92.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.384, allocations: 0 / 1.214 GB, free: 92.53 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001657/2.385, allocations: 1.137 MB / 1.216 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/2.386, allocations: 226.1 kB / 1.216 GB, free: 91.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/2.386, allocations: 12.09 kB / 1.216 GB, free: 91.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/2.386, allocations: 48.98 kB / 1.216 GB, free: 91.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/2.386, allocations: 35.09 kB / 1.216 GB, free: 91.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/2.386, allocations: 26.05 kB / 1.216 GB, free: 91.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000478/2.387, allocations: 447.7 kB / 1.216 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001579/2.389, allocations: 0.5088 MB / 1.217 GB, free: 91.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (limPID.I.y,vol.dynBal.medium.p,vol.dynBal.medium.T,vol.dynBal.mC[1],senVolFlo.d,senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008467/2.389, allocations: 395.4 kB / 1.217 GB, free: 91.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001937/2.391, allocations: 1.35 MB / 1.219 GB, free: 90.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/2.391, allocations: 1.688 kB / 1.219 GB, free: 90.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006817/2.392, allocations: 313.3 kB / 1.219 GB, free: 90.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/2.394, allocations: 357.9 kB / 1.219 GB, free: 90.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/2.397, allocations: 1.557 MB / 1.221 GB, free: 89.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/2.398, allocations: 1.223 MB / 1.222 GB, free: 88.57 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/2.398, allocations: 0 / 1.222 GB, free: 88.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.03724/2.435, allocations: 20.86 MB / 1.242 GB, free: 71.65 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)