Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Annex60.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2881/0.2881, allocations: 54.39 MB / 61.68 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001319/0.001319, allocations: 182.4 kB / 75.38 MB, free: 1.473 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.931/1.931, allocations: 194.2 MB / 283.2 MB, free: 3.473 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001713/0.001713, allocations: 116.4 kB / 341.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.957e-06/8.997e-06, allocations: 0 / 405 MB, free: 27.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1764, allocations: 57.64 MB / 462.6 MB, free: 1.941 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.091/5.267, allocations: 2.145 GB / 2.596 GB, free: 57.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/5.267, allocations: 89.22 kB / 2.596 GB, free: 57.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.188/7.455, allocations: 0.5697 GB / 3.166 GB, free: 49.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001127/7.455, allocations: 39.94 kB / 3.166 GB, free: 49.84 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.00442/7.46, allocations: 1.621 MB / 3.168 GB, free: 48.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/7.46, allocations: 15.97 kB / 3.168 GB, free: 48.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/7.462, allocations: 337.8 kB / 3.168 GB, free: 47.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/7.464, allocations: 0.9926 MB / 3.169 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/7.464, allocations: 40 kB / 3.169 GB, free: 46.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/7.465, allocations: 72 kB / 3.169 GB, free: 46.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001855/7.466, allocations: 1.043 MB / 3.17 GB, free: 45.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/7.468, allocations: 1.209 MB / 3.171 GB, free: 44.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/7.468, allocations: 0 / 3.171 GB, free: 44.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/7.468, allocations: 10.91 kB / 3.171 GB, free: 44.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/7.469, allocations: 38.3 kB / 3.171 GB, free: 44.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00695/7.475, allocations: 5.385 MB / 3.177 GB, free: 38.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/7.477, allocations: 0.6992 MB / 3.177 GB, free: 37.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/7.477, allocations: 350.3 kB / 3.178 GB, free: 37.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004747/7.478, allocations: 217.1 kB / 3.178 GB, free: 37.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/7.478, allocations: 51.33 kB / 3.178 GB, free: 37.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=71): time 3.447e-06/7.478, allocations: 0 / 3.178 GB, free: 37.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.002322/7.48, allocations: 0.8238 MB / 3.179 GB, free: 36.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/7.48, allocations: 141.2 kB / 3.179 GB, free: 36.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/7.481, allocations: 0.6452 MB / 3.179 GB, free: 35.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.142e-05/7.481, allocations: 27.77 kB / 3.18 GB, free: 35.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/7.481, allocations: 494.4 kB / 3.18 GB, free: 35.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/7.482, allocations: 248.3 kB / 3.18 GB, free: 34.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/7.482, allocations: 0 / 3.18 GB, free: 34.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.626e-05/7.482, allocations: 344.6 kB / 3.181 GB, free: 34.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/7.482, allocations: 301.9 kB / 3.181 GB, free: 34.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/7.483, allocations: 0.5489 MB / 3.181 GB, free: 33.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009432/7.484, allocations: 0.4999 MB / 3.182 GB, free: 33.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/7.484, allocations: 3.984 kB / 3.182 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001739/7.485, allocations: 1.044 MB / 3.183 GB, free: 32.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007469/7.486, allocations: 2.176 MB / 3.185 GB, free: 29.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/7.486, allocations: 8 kB / 3.185 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/7.486, allocations: 12 kB / 3.185 GB, free: 29.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/7.489, allocations: 459.4 kB / 3.185 GB, free: 29.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009274/7.489, allocations: 0.7031 MB / 3.186 GB, free: 28.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/7.491, allocations: 151.1 kB / 3.186 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.093e-05/7.491, allocations: 39.98 kB / 3.186 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/7.491, allocations: 4.938 kB / 3.186 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001528/7.493, allocations: 0.8987 MB / 3.187 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/7.493, allocations: 4 kB / 3.187 GB, free: 27.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/7.493, allocations: 12.75 kB / 3.187 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/7.493, allocations: 195.7 kB / 3.187 GB, free: 27.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/7.493, allocations: 15.94 kB / 3.187 GB, free: 27.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009895/7.494, allocations: 111.2 kB / 3.188 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/7.494, allocations: 36 kB / 3.188 GB, free: 27.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 1 * 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.0003275/7.495, allocations: 132.7 kB / 3.188 GB, free: 26.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/7.495, allocations: 106.7 kB / 3.188 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/7.497, allocations: 0.8382 MB / 3.189 GB, free: 25.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/7.497, allocations: 12 kB / 3.189 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/7.497, allocations: 3.906 kB / 3.189 GB, free: 25.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001132/7.498, allocations: 0.907 MB / 3.19 GB, free: 24.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/7.501, allocations: 1.887 MB / 3.191 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/7.501, allocations: 0 / 3.191 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/7.503, allocations: 395.7 kB / 3.192 GB, free: 22.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/7.503, allocations: 8 kB / 3.192 GB, free: 22.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/7.503, allocations: 11.98 kB / 3.192 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/7.505, allocations: 1.441 MB / 3.193 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/7.505, allocations: 3.938 kB / 3.193 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001877/7.507, allocations: 1.314 MB / 3.194 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006067/7.507, allocations: 283.6 kB / 3.195 GB, free: 19.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/7.508, allocations: 0 / 3.195 GB, free: 19.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008735/7.508, allocations: 87.75 kB / 3.195 GB, free: 19.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/7.508, allocations: 36.61 kB / 3.195 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/7.509, allocations: 31.97 kB / 3.195 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006628/7.509, allocations: 495.1 kB / 3.195 GB, free: 18.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002274/7.512, allocations: 0.7745 MB / 3.196 GB, free: 18.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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 (70): * Single equations (assignments): 69 * 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.003003/7.515, allocations: 2.068 MB / 3.198 GB, free: 16.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004389/7.519, allocations: 1.642 MB / 3.2 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/7.519, allocations: 4 kB / 3.2 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003663/7.523, allocations: 0.8468 MB / 3.201 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/7.525, allocations: 431.2 kB / 3.201 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/7.529, allocations: 1.909 MB / 3.203 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008873/7.53, allocations: 1.343 MB / 3.204 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of SimCode: time 2.044e-06/7.53, allocations: 4 kB / 3.204 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of Templates: time 0.3801/7.91, allocations: 32.34 MB / 3.236 GB, free: 114.3 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)