Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.conf.json 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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors") [: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 3.2.2+maint.om/package.mo): time 0.001603/0.001603, allocations: 188.6 kB / 8.138 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.177/1.177, allocations: 194.2 MB / 202.8 MB, free: 8.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00176/0.00176, allocations: 115 kB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.38e-06/5.41e-06, allocations: 0 / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08605, allocations: 44.48 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.292, allocations: 72 MB / 414 MB, free: 23.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.2922, allocations: 68.45 kB / 414.1 MB, free: 23.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.006161/0.2984, allocations: 2.171 MB / 416.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2984, allocations: 4 kB / 416.3 MB, free: 21.29 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0003486/0.2988, allocations: 403.7 kB / 416.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2988, allocations: 12.03 kB / 416.7 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.2988, allocations: 20.12 kB / 416.7 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.299, allocations: 198.2 kB / 416.9 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.299, allocations: 11.91 kB / 416.9 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.299, allocations: 12 kB / 416.9 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001584/0.2992, allocations: 66.11 kB / 417 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2994, allocations: 115.5 kB / 417.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.2994, allocations: 3.984 kB / 417.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2994, allocations: 3.938 kB / 417.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2994, allocations: 4.75 kB / 417.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.3001, allocations: 0.4907 MB / 417.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.05e-05/0.3002, allocations: 62.95 kB / 417.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.3003, allocations: 19.67 kB / 417.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3003, allocations: 4 kB / 417.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.248e-06/0.3003, allocations: 30.56 kB / 417.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.3003, allocations: 0 / 417.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006611/0.301, allocations: 0.5235 MB / 418.2 MB, free: 19.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.448e-05/0.301, allocations: 55.41 kB / 418.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.3011, allocations: 117.4 kB / 418.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.3011, allocations: 25.7 kB / 418.4 MB, free: 19.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.3011, allocations: 134.5 kB / 418.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.3012, allocations: 43.02 kB / 418.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.3012, allocations: 0 / 418.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.3012, allocations: 322.3 kB / 418.9 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.046e-05/0.3013, allocations: 28.38 kB / 419 MB, free: 18.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.868e-05/0.3013, allocations: 76.59 kB / 419 MB, free: 18.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.488e-05/0.3014, allocations: 38.92 kB / 419.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3014, allocations: 0 / 419.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001652/0.3016, allocations: 131.6 kB / 419.2 MB, free: 18.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.3016, allocations: 4 kB / 419.2 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3016, allocations: 4 kB / 419.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3016, allocations: 4 kB / 419.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3018, allocations: 36.17 kB / 419.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3018, allocations: 7.938 kB / 419.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.3019, allocations: 4 kB / 419.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3019, allocations: 7.125 kB / 419.3 MB, free: 18.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.302, allocations: 114 kB / 419.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.302, allocations: 11.81 kB / 419.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.302, allocations: 14.33 kB / 419.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.302, allocations: 8 kB / 419.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.302, allocations: 0 / 419.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3021, allocations: 0 / 419.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.3024, allocations: 389.4 kB / 419.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3025, allocations: 8.75 kB / 419.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.3026, allocations: 31.98 kB / 419.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3026, allocations: 0 / 419.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3026, allocations: 7.438 kB / 419.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3026, allocations: 0 / 419.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3027, allocations: 0 / 419.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001845/0.3028, allocations: 251.5 kB / 420.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.3029, allocations: 82.61 kB / 420.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.3029, allocations: 4 kB / 420.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.303, allocations: 4 kB / 420.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.303, allocations: 11.86 kB / 420.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3031, allocations: 4 kB / 420.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.139e-05/0.3031, allocations: 98.08 kB / 420.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.3034, allocations: 27.91 kB / 420.3 MB, free: 17.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.444e-05/0.3035, allocations: 99.25 kB / 420.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.3036, allocations: 72.67 kB / 420.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3036, allocations: 0 / 420.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.439e-05/0.3037, allocations: 34.69 kB / 420.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.3039, allocations: 8.656 kB / 420.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.3044, allocations: 276.4 kB / 420.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3045, allocations: 0.7356 MB / 421.5 MB, free: 16 MB / 314.7 MB Notification: Performance of SimCode: time 9.81e-07/0.3045, allocations: 112 / 421.5 MB, free: 16 MB / 314.7 MB Notification: Performance of Templates: time 0.002712/0.3073, allocations: 0.8814 MB / 422.4 MB, free: 15.14 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1)