Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.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.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density") translateModel(Annex60.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density") [: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.2969/0.2969, allocations: 54.39 MB / 61.67 MB, free: 11.17 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.001339/0.001339, allocations: 185.3 kB / 75.37 MB, free: 1.457 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.707/1.707, allocations: 194.2 MB / 283.2 MB, free: 3.5 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.002037/0.002037, allocations: 113.3 kB / 341.3 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.795e-06/7.815e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1506, allocations: 57.64 MB / 462.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.186/5.337, allocations: 2.136 GB / 2.588 GB, free: 43.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/5.337, allocations: 85.12 kB / 2.588 GB, free: 43.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.526/6.863, allocations: 424.3 MB / 3.003 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.006e-05/6.863, allocations: 20 kB / 3.003 GB, free: 15.35 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002959/6.866, allocations: 1.103 MB / 3.004 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/6.866, allocations: 11.97 kB / 3.004 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/6.868, allocations: 290.6 kB / 3.004 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/6.869, allocations: 0.673 MB / 3.005 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/6.869, allocations: 20 kB / 3.005 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/6.87, allocations: 44 kB / 3.005 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001148/6.871, allocations: 0.5883 MB / 3.005 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/6.872, allocations: 0.6697 MB / 3.006 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/6.872, allocations: 0 / 3.006 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/6.872, allocations: 0 / 3.006 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/6.872, allocations: 25.3 kB / 3.006 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/6.875, allocations: 2.777 MB / 3.009 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/6.876, allocations: 418.5 kB / 3.009 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/6.876, allocations: 224.8 kB / 3.009 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004306/6.876, allocations: 380.4 kB / 3.01 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/6.876, allocations: 42.56 kB / 3.01 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.335e-06/6.876, allocations: 7.938 kB / 3.01 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.001274/6.878, allocations: 485.2 kB / 3.01 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/6.878, allocations: 67.19 kB / 3.01 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/6.878, allocations: 398 kB / 3.011 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/6.878, allocations: 25.7 kB / 3.011 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/6.878, allocations: 295.7 kB / 3.011 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.849e-05/6.878, allocations: 149.8 kB / 3.011 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/6.878, allocations: 0 / 3.011 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001117/6.879, allocations: 362.8 kB / 3.011 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/6.879, allocations: 157 kB / 3.012 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/6.879, allocations: 281.2 kB / 3.012 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/6.879, allocations: 232.7 kB / 3.012 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/6.879, allocations: 0 / 3.012 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007317/6.88, allocations: 0.5372 MB / 3.013 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002206/6.88, allocations: 1.045 MB / 3.014 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/6.88, allocations: 4 kB / 3.014 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/6.881, allocations: 4 kB / 3.014 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/6.882, allocations: 371.6 kB / 3.014 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007667/6.883, allocations: 0.6953 MB / 3.015 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/6.884, allocations: 87.53 kB / 3.015 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/6.884, allocations: 24 kB / 3.015 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/6.884, allocations: 4.938 kB / 3.015 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000644/6.885, allocations: 449.4 kB / 3.015 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/6.885, allocations: 4.062 kB / 3.015 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/6.885, allocations: 8 kB / 3.015 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/6.885, allocations: 119.8 kB / 3.015 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/6.885, allocations: 4 kB / 3.015 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/6.886, allocations: 67.58 kB / 3.015 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/6.886, allocations: 27.84 kB / 3.015 GB, free: 1.656 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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.0001243/6.886, allocations: 120.8 kB / 3.016 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/6.886, allocations: 55.34 kB / 3.016 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007249/6.887, allocations: 466.6 kB / 3.016 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/6.887, allocations: 7.906 kB / 3.016 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/6.887, allocations: 0 / 3.016 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005943/6.887, allocations: 0.6947 MB / 3.017 GB, free: 232 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3027/7.19, allocations: 1.207 MB / 3.018 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/7.19, allocations: 3.875 kB / 3.018 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/7.192, allocations: 350.6 kB / 3.018 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/7.192, allocations: 11.92 kB / 3.018 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/7.192, allocations: 6.281 kB / 3.018 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/7.194, allocations: 1.44 MB / 3.02 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/7.194, allocations: 2.719 kB / 3.02 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001162/7.195, allocations: 0.9141 MB / 3.021 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/7.195, allocations: 195 kB / 3.021 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/7.195, allocations: 6.188 kB / 3.021 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/7.196, allocations: 66.25 kB / 3.021 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/7.196, allocations: 30.19 kB / 3.021 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.75e-05/7.196, allocations: 28.42 kB / 3.021 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003635/7.197, allocations: 305.6 kB / 3.021 GB, free: 121 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001486/7.198, allocations: 495.2 kB / 3.022 GB, free: 121 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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.002077/7.2, allocations: 1.542 MB / 3.023 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003488/7.204, allocations: 1.036 MB / 3.024 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/7.204, allocations: 3.625 kB / 3.024 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003525/7.207, allocations: 0.7291 MB / 3.025 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/7.209, allocations: 327.6 kB / 3.025 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/7.212, allocations: 1.163 MB / 3.026 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006443/7.212, allocations: 1.055 MB / 3.027 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.162e-06/7.212, allocations: 0.75 kB / 3.027 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.034/7.246, allocations: 22.1 MB / 3.049 GB, free: 119.2 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe 2>&1)