Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6693/0.6693, allocations: 110.9 MB / 125.9 MB, free: 6.203 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001677/0.001677, allocations: 146.6 kB / 151.8 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.00027, allocations: 4 kB / 184.9 MB, free: 3.91 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 25.15 MB / 210 MB, free: 29.71 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04451/0.1872, allocations: 34.74 MB / 244.8 MB, free: 15.08 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.1875, allocations: 71.95 kB / 244.9 MB, free: 15.01 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006013/0.1935, allocations: 2.187 MB / 247 MB, free: 12.83 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1936, allocations: 0 / 247 MB, free: 12.83 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1936, allocations: 0 / 247 MB, free: 12.83 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004623/0.194, allocations: 398.9 kB / 247.4 MB, free: 12.39 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1941, allocations: 8.031 kB / 247.4 MB, free: 12.39 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.1942, allocations: 19.59 kB / 247.5 MB, free: 12.37 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1944, allocations: 197.5 kB / 247.7 MB, free: 12.14 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1944, allocations: 12 kB / 247.7 MB, free: 12.13 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.1944, allocations: 12 kB / 247.7 MB, free: 12.12 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.1947, allocations: 121.6 kB / 247.8 MB, free: 11.99 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1947, allocations: 0 / 247.8 MB, free: 11.99 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.1947, allocations: 8 kB / 247.8 MB, free: 11.98 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1948, allocations: 3.953 kB / 247.8 MB, free: 11.98 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.195, allocations: 87.88 kB / 247.9 MB, free: 11.89 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007317/0.1957, allocations: 493.9 kB / 248.4 MB, free: 11.36 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.1959, allocations: 78.47 kB / 248.4 MB, free: 11.27 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.1959, allocations: 4 kB / 248.5 MB, free: 11.27 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1959, allocations: 34.56 kB / 248.5 MB, free: 11.22 MB / 186.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1959, allocations: 0 / 248.5 MB, free: 11.22 MB / 186.7 MB Notification: Performance of matching and sorting (n=10): time 0.001046/0.197, allocations: 0.5812 MB / 249.1 MB, free: 10.55 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.197, allocations: 51.41 kB / 249.1 MB, free: 10.49 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1971, allocations: 128 kB / 249.2 MB, free: 10.36 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1972, allocations: 29.7 kB / 249.3 MB, free: 10.32 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.1973, allocations: 127.8 kB / 249.4 MB, free: 10.19 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.1973, allocations: 39.45 kB / 249.4 MB, free: 10.15 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.1973, allocations: 7.938 kB / 249.4 MB, free: 10.14 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1974, allocations: 316.5 kB / 249.8 MB, free: 9.828 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.1975, allocations: 31.98 kB / 249.8 MB, free: 9.797 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.1976, allocations: 97.52 kB / 249.9 MB, free: 9.676 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.864e-05/0.1977, allocations: 43.98 kB / 249.9 MB, free: 9.633 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1977, allocations: 0 / 249.9 MB, free: 9.633 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002468/0.198, allocations: 149.4 kB / 250.1 MB, free: 9.48 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.198, allocations: 7.953 kB / 250.1 MB, free: 9.473 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.198, allocations: 4 kB / 250.1 MB, free: 9.469 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1981, allocations: 14.98 kB / 250.1 MB, free: 9.457 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1982, allocations: 39.92 kB / 250.1 MB, free: 9.418 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1982, allocations: 7.188 kB / 250.1 MB, free: 9.414 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.1983, allocations: 7.906 kB / 250.1 MB, free: 9.406 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1983, allocations: 4 kB / 250.2 MB, free: 9.402 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001097/0.1984, allocations: 136.6 kB / 250.3 MB, free: 9.262 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.1985, allocations: 7.906 kB / 250.3 MB, free: 9.254 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.1985, allocations: 20.66 kB / 250.3 MB, free: 9.234 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1985, allocations: 4 kB / 250.3 MB, free: 9.23 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1986, allocations: 0 / 250.3 MB, free: 9.23 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1986, allocations: 0 / 250.3 MB, free: 9.23 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.1991, allocations: 428 kB / 250.7 MB, free: 8.75 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1991, allocations: 8.062 kB / 250.7 MB, free: 8.742 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.1993, allocations: 27.98 kB / 250.8 MB, free: 8.715 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1993, allocations: 0 / 250.8 MB, free: 8.715 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1993, allocations: 0 / 250.8 MB, free: 8.715 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1993, allocations: 4 kB / 250.8 MB, free: 8.711 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1993, allocations: 0 / 250.8 MB, free: 8.711 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.1996, allocations: 272.5 kB / 251 MB, free: 8.41 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.1997, allocations: 85.05 kB / 251.1 MB, free: 8.309 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1997, allocations: 7.984 kB / 251.1 MB, free: 8.301 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.1998, allocations: 4 kB / 251.1 MB, free: 8.297 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.1999, allocations: 15.98 kB / 251.1 MB, free: 8.281 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.1999, allocations: 8 kB / 251.2 MB, free: 8.273 MB / 186.7 MB Notification: Performance of sorting global known variables: time 6.617e-05/0.2, allocations: 97.52 kB / 251.3 MB, free: 8.18 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2, allocations: 3.938 kB / 251.3 MB, free: 8.176 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002663/0.2003, allocations: 31.95 kB / 251.3 MB, free: 8.145 MB / 186.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 0.0001465/0.2004, allocations: 95.25 kB / 251.4 MB, free: 8.043 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.2006, allocations: 96.02 kB / 251.5 MB, free: 7.949 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2006, allocations: 0 / 251.5 MB, free: 7.949 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/0.2007, allocations: 35.92 kB / 251.5 MB, free: 7.914 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.201, allocations: 8.766 kB / 251.5 MB, free: 7.906 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007876/0.2018, allocations: 488.5 kB / 252 MB, free: 7.402 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.2021, allocations: 0.7082 MB / 252.7 MB, free: 6.668 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.2021, allocations: 8.547 kB / 252.7 MB, free: 6.66 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.2022, allocations: 19.44 kB / 252.7 MB, free: 6.641 MB / 186.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2022, allocations: 0 / 252.7 MB, free: 6.641 MB / 186.7 MB Notification: Performance of Templates: time 0.00303/0.2052, allocations: 0.7283 MB / 253.5 MB, free: 5.926 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1)