Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.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.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction") translateModel(Annex60.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction") [: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.2981/0.2981, 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.001497/0.001497, allocations: 188.9 kB / 75.38 MB, free: 1.523 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.756/1.756, allocations: 194.2 MB / 283.2 MB, free: 3.477 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.001823/0.001823, allocations: 115.7 kB / 341.3 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.486e-06, allocations: 0 / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 57.65 MB / 462.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.795/4.932, allocations: 2.14 GB / 2.592 GB, free: 62.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/4.932, allocations: 92.69 kB / 2.592 GB, free: 62.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.738/6.67, allocations: 422.2 MB / 3.004 GB, free: 35.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000129/6.671, allocations: 20 kB / 3.004 GB, free: 35.33 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003649/6.674, allocations: 1.114 MB / 3.005 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/6.674, allocations: 11.97 kB / 3.005 GB, free: 34.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/6.676, allocations: 210.8 kB / 3.005 GB, free: 33.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/6.679, allocations: 0.6614 MB / 3.006 GB, free: 33.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/6.679, allocations: 24 kB / 3.006 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/6.679, allocations: 40 kB / 3.006 GB, free: 33.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001627/6.681, allocations: 0.5648 MB / 3.007 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/6.682, allocations: 0.6454 MB / 3.007 GB, free: 31.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/6.682, allocations: 0 / 3.007 GB, free: 31.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/6.682, allocations: 4 kB / 3.007 GB, free: 31.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/6.682, allocations: 21.31 kB / 3.007 GB, free: 31.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004085/6.687, allocations: 2.7 MB / 3.01 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005362/6.687, allocations: 399.7 kB / 3.01 GB, free: 28.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/6.687, allocations: 210.9 kB / 3.01 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004232/6.688, allocations: 210.6 kB / 3.011 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/6.688, allocations: 42.89 kB / 3.011 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=40): time 3.046e-06/6.688, allocations: 0 / 3.011 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.001253/6.689, allocations: 495 kB / 3.011 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/6.689, allocations: 55.41 kB / 3.011 GB, free: 27.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/6.69, allocations: 393.3 kB / 3.012 GB, free: 27.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/6.69, allocations: 29.7 kB / 3.012 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/6.69, allocations: 303.5 kB / 3.012 GB, free: 26.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/6.69, allocations: 138 kB / 3.012 GB, free: 26.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/6.69, allocations: 4 kB / 3.012 GB, free: 26.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001252/6.69, allocations: 366.7 kB / 3.012 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/6.69, allocations: 189.2 kB / 3.013 GB, free: 26.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/6.691, allocations: 294.5 kB / 3.013 GB, free: 25.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/6.691, allocations: 269.7 kB / 3.013 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/6.691, allocations: 4 kB / 3.013 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008847/6.692, allocations: 0.5881 MB / 3.014 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002514/6.692, allocations: 1.056 MB / 3.015 GB, free: 23.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/6.692, allocations: 0 / 3.015 GB, free: 23.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/6.692, allocations: 8 kB / 3.015 GB, free: 23.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/6.694, allocations: 359.6 kB / 3.015 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008875/6.695, allocations: 0.703 MB / 3.016 GB, free: 22.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/6.696, allocations: 79.58 kB / 3.016 GB, free: 22.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/6.696, allocations: 24 kB / 3.016 GB, free: 22.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.455e-06/6.696, allocations: 7.906 kB / 3.016 GB, free: 22.59 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007967/6.697, allocations: 0.4972 MB / 3.016 GB, free: 22.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/6.697, allocations: 8.328 kB / 3.016 GB, free: 22.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/6.697, allocations: 8 kB / 3.016 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/6.697, allocations: 111.9 kB / 3.016 GB, free: 21.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/6.697, allocations: 7.938 kB / 3.017 GB, free: 21.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/6.698, allocations: 63.58 kB / 3.017 GB, free: 21.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/6.698, allocations: 20 kB / 3.017 GB, free: 21.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 2 * 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.0001917/6.698, allocations: 124.7 kB / 3.017 GB, free: 21.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/6.698, allocations: 59.34 kB / 3.017 GB, free: 21.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/6.699, allocations: 479.5 kB / 3.017 GB, free: 21.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/6.699, allocations: 11.98 kB / 3.017 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/6.699, allocations: 0 / 3.017 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006068/6.7, allocations: 0.6948 MB / 3.018 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/6.702, allocations: 1.253 MB / 3.019 GB, free: 19.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/6.702, allocations: 8 kB / 3.019 GB, free: 19.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/6.703, allocations: 327.8 kB / 3.019 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/6.704, allocations: 8 kB / 3.019 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/6.704, allocations: 11.91 kB / 3.019 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/6.705, allocations: 1.441 MB / 3.021 GB, free: 17.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/6.705, allocations: 0 / 3.021 GB, free: 17.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009564/6.706, allocations: 0.8692 MB / 3.022 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/6.707, allocations: 196.3 kB / 3.022 GB, free: 16.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/6.707, allocations: 7.984 kB / 3.022 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006744/6.707, allocations: 59.84 kB / 3.022 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/6.707, allocations: 23.97 kB / 3.022 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/6.708, allocations: 23.98 kB / 3.022 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003638/6.708, allocations: 306.9 kB / 3.022 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001625/6.71, allocations: 0.5065 MB / 3.023 GB, free: 15.13 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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.002259/6.712, allocations: 1.565 MB / 3.024 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00365/6.715, allocations: 1.204 MB / 3.026 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/6.715, allocations: 0 / 3.026 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003461/6.719, allocations: 0.7185 MB / 3.026 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/6.721, allocations: 323.3 kB / 3.027 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/6.724, allocations: 1.156 MB / 3.028 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/6.724, allocations: 1.047 MB / 3.029 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of SimCode: time 1.513e-06/6.724, allocations: 0 / 3.029 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.3378/7.062, allocations: 22.43 MB / 3.051 GB, free: 121 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)