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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001653/0.001653, allocations: 184.8 kB / 8.359 MB, free: 0.6953 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.441/1.441, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00169/0.00169, allocations: 120.5 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.958e-05, allocations: 4 kB / 298.1 MB, free: 8.258 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.09978, allocations: 44.5 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/0.3939, allocations: 72.07 MB / 414.6 MB, free: 23.79 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.3942, allocations: 71.81 kB / 414.7 MB, free: 23.75 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.006344/0.4005, allocations: 2.477 MB / 417.2 MB, free: 21.71 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4006, allocations: 0 / 417.2 MB, free: 21.71 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4006, allocations: 0 / 417.2 MB, free: 21.71 MB / 315.1 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.0004081/0.401, allocations: 406.3 kB / 417.6 MB, free: 21.28 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4011, allocations: 8.031 kB / 417.6 MB, free: 21.27 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.4011, allocations: 23.22 kB / 417.6 MB, free: 21.25 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.4013, allocations: 210.8 kB / 417.8 MB, free: 21.02 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4013, allocations: 4 kB / 417.8 MB, free: 21.02 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.4013, allocations: 8 kB / 417.8 MB, free: 21.01 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001615/0.4015, allocations: 70.98 kB / 417.9 MB, free: 20.96 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.4017, allocations: 113 kB / 418 MB, free: 20.87 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.4017, allocations: 1.062 kB / 418 MB, free: 20.87 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.4018, allocations: 0 / 418 MB, free: 20.87 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.4018, allocations: 4 kB / 418 MB, free: 20.86 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006772/0.4025, allocations: 0.4918 MB / 418.5 MB, free: 20.39 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.4026, allocations: 72.8 kB / 418.6 MB, free: 20.33 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.4026, allocations: 23.17 kB / 418.6 MB, free: 20.31 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.4027, allocations: 0 / 418.6 MB, free: 20.31 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.4027, allocations: 34.75 kB / 418.6 MB, free: 20.27 MB / 315.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.4027, allocations: 0 / 418.6 MB, free: 20.27 MB / 315.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007236/0.4034, allocations: 0.5279 MB / 419.2 MB, free: 19.69 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.4035, allocations: 52.17 kB / 419.2 MB, free: 19.62 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/0.4035, allocations: 116.4 kB / 419.3 MB, free: 19.52 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.4036, allocations: 25.7 kB / 419.4 MB, free: 19.48 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.4036, allocations: 140.8 kB / 419.5 MB, free: 19.35 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.4036, allocations: 37.77 kB / 419.5 MB, free: 19.32 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.4037, allocations: 1.875 kB / 419.5 MB, free: 19.32 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.4037, allocations: 326.2 kB / 419.8 MB, free: 19 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-05/0.4038, allocations: 25.06 kB / 419.9 MB, free: 18.98 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.4038, allocations: 77.59 kB / 419.9 MB, free: 18.89 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.501e-05/0.4039, allocations: 34.48 kB / 420 MB, free: 18.87 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4039, allocations: 4 kB / 420 MB, free: 18.87 MB / 315.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001836/0.4041, allocations: 127.4 kB / 420.1 MB, free: 18.75 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4041, allocations: 4 kB / 420.1 MB, free: 18.75 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4041, allocations: 9.078 kB / 420.1 MB, free: 18.74 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4041, allocations: 4 kB / 420.1 MB, free: 18.74 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.4043, allocations: 36.17 kB / 420.2 MB, free: 18.7 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4043, allocations: 11.42 kB / 420.2 MB, free: 18.7 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.178e-05/0.4044, allocations: 7.984 kB / 420.2 MB, free: 18.69 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.4044, allocations: 7.438 kB / 420.2 MB, free: 18.68 MB / 315.1 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 7.106e-05/0.4045, allocations: 108.8 kB / 420.3 MB, free: 18.57 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.4045, allocations: 7.906 kB / 420.3 MB, free: 18.56 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.4046, allocations: 11 kB / 420.3 MB, free: 18.56 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4046, allocations: 7.953 kB / 420.3 MB, free: 18.55 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4046, allocations: 4 kB / 420.3 MB, free: 18.55 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4046, allocations: 0 / 420.3 MB, free: 18.55 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.405, allocations: 388.9 kB / 420.7 MB, free: 18.16 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.405, allocations: 4 kB / 420.7 MB, free: 18.15 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.4052, allocations: 31.88 kB / 420.7 MB, free: 18.12 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4052, allocations: 5.625 kB / 420.7 MB, free: 18.12 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.4052, allocations: 4 kB / 420.8 MB, free: 18.11 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.4052, allocations: 0 / 420.8 MB, free: 18.11 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4052, allocations: 2.906 kB / 420.8 MB, free: 18.11 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.4054, allocations: 253.6 kB / 421 MB, free: 17.86 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.4055, allocations: 85.05 kB / 421.1 MB, free: 17.76 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.4055, allocations: 4 kB / 421.1 MB, free: 17.75 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.4056, allocations: 0 / 421.1 MB, free: 17.75 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.4056, allocations: 11.55 kB / 421.1 MB, free: 17.75 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.4057, allocations: 4 kB / 421.1 MB, free: 17.74 MB / 315.1 MB Notification: Performance of sorting global known variables: time 4.355e-05/0.4057, allocations: 97.95 kB / 421.2 MB, free: 17.65 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4057, allocations: 0 / 421.2 MB, free: 17.65 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.406, allocations: 23.94 kB / 421.2 MB, free: 17.63 MB / 315.1 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 0.0001145/0.4061, allocations: 103.3 kB / 421.3 MB, free: 17.52 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.4062, allocations: 72.55 kB / 421.4 MB, free: 17.46 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4062, allocations: 0 / 421.4 MB, free: 17.46 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 4.189e-05/0.4063, allocations: 30.62 kB / 421.4 MB, free: 17.44 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.4065, allocations: 11.52 kB / 421.4 MB, free: 17.43 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.407, allocations: 300.2 kB / 421.7 MB, free: 17.14 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.4072, allocations: 0.7166 MB / 422.4 MB, free: 16.39 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 5.896e-05/0.4073, allocations: 8.875 kB / 422.5 MB, free: 16.38 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.4073, allocations: 15.44 kB / 422.5 MB, free: 16.37 MB / 315.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4073, allocations: 3.938 kB / 422.5 MB, free: 16.36 MB / 315.1 MB Notification: Performance of Templates: time 0.002756/0.4101, allocations: 0.7584 MB / 423.2 MB, free: 15.63 MB / 315.1 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)