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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001315, allocations: 190.3 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 47.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2948, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003935/0.2988, allocations: 2.025 MB / 326.7 MB, free: 344 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.2999, allocations: 0.5446 MB / 327.2 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.3, allocations: 3.531 kB / 327.2 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.3002, allocations: 11.86 kB / 327.3 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.78e-05/0.3004, allocations: 31.27 kB / 327.3 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.3006, allocations: 35.47 kB / 327.3 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.3009, allocations: 144.4 kB / 327.5 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.3011, allocations: 45.52 kB / 327.5 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.3012, allocations: 64.64 kB / 327.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3013, allocations: 62.08 kB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.3014, allocations: 9.719 kB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.649e-05/0.3014, allocations: 11.34 kB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.3014, allocations: 28.36 kB / 327.7 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3016, allocations: 72.52 kB / 327.7 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.3018, allocations: 165.3 kB / 327.9 MB, free: 15.44 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3018, allocations: 0 / 327.9 MB, free: 15.44 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3018, allocations: 0 / 327.9 MB, free: 15.44 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.3018, allocations: 0 / 327.9 MB, free: 15.44 MB / 270.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.0007289/0.3026, allocations: 444.9 kB / 328.3 MB, free: 15.01 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.3026, allocations: 10.03 kB / 328.4 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.3027, allocations: 15.34 kB / 328.4 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.303, allocations: 202.5 kB / 328.6 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.303, allocations: 11.19 kB / 328.6 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.303, allocations: 18.81 kB / 328.6 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.3034, allocations: 148.9 kB / 328.7 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.3034, allocations: 9.5 kB / 328.7 MB, free: 14.65 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.3034, allocations: 5.406 kB / 328.8 MB, free: 14.65 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3035, allocations: 4.312 kB / 328.8 MB, free: 14.65 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.3037, allocations: 88.84 kB / 328.8 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.3046, allocations: 0.5323 MB / 329.4 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.3048, allocations: 78.55 kB / 329.5 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.224e-05/0.3049, allocations: 31.34 kB / 329.5 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.305, allocations: 1.125 kB / 329.5 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.305, allocations: 35.75 kB / 329.5 MB, free: 14 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.305, allocations: 3.938 kB / 329.5 MB, free: 14 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001409/0.3064, allocations: 0.5871 MB / 330.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.3065, allocations: 60.47 kB / 330.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3067, allocations: 136.5 kB / 330.3 MB, free: 13.25 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3067, allocations: 26.89 kB / 330.3 MB, free: 13.22 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.3069, allocations: 128.2 kB / 330.5 MB, free: 13.1 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.3069, allocations: 40.27 kB / 330.5 MB, free: 13.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.307, allocations: 36.17 kB / 330.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3072, allocations: 321.1 kB / 330.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.103e-05/0.3073, allocations: 33.89 kB / 330.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.3074, allocations: 86.84 kB / 331 MB, free: 12.61 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.3076, allocations: 127.8 kB / 331.1 MB, free: 12.51 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3077, allocations: 1.219 kB / 331.1 MB, free: 12.51 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003073/0.308, allocations: 154.7 kB / 331.2 MB, free: 12.42 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.308, allocations: 13.64 kB / 331.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.308, allocations: 10.19 kB / 331.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.3081, allocations: 2.219 kB / 331.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.3083, allocations: 40.27 kB / 331.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.3083, allocations: 7.219 kB / 331.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.3084, allocations: 3.219 kB / 331.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3084, allocations: 10.59 kB / 331.3 MB, free: 12.38 MB / 270.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.3085, allocations: 128.4 kB / 331.4 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.3086, allocations: 19.67 kB / 331.5 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.3086, allocations: 15.16 kB / 331.5 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3086, allocations: 1.281 kB / 331.5 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.3086, allocations: 3.938 kB / 331.5 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3086, allocations: 1 kB / 331.5 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.3093, allocations: 444.4 kB / 331.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3093, allocations: 0.9688 kB / 331.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.3095, allocations: 31.86 kB / 332 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3095, allocations: 1.344 kB / 332 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3095, allocations: 1.938 kB / 332 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3095, allocations: 0.9688 kB / 332 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3095, allocations: 1.094 kB / 332 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.3099, allocations: 252.9 kB / 332.2 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.3099, allocations: 84.52 kB / 332.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.31, allocations: 5 kB / 332.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.3101, allocations: 7.062 kB / 332.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.3101, allocations: 11.3 kB / 332.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.3101, allocations: 7.219 kB / 332.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.534e-05/0.3102, allocations: 100.1 kB / 332.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3102, allocations: 4.062 kB / 332.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.3105, allocations: 26.47 kB / 332.4 MB, free: 11.38 MB / 270.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00014/0.3107, allocations: 100.8 kB / 332.5 MB, free: 11.28 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3109, allocations: 89.84 kB / 332.6 MB, free: 11.24 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3109, allocations: 288 / 332.6 MB, free: 11.24 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 9.25e-05/0.311, allocations: 48.33 kB / 332.7 MB, free: 11.22 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.3114, allocations: 18.17 kB / 332.7 MB, free: 11.21 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009109/0.3123, allocations: 482.7 kB / 333.2 MB, free: 10.82 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.3126, allocations: 0.7193 MB / 333.9 MB, free: 10.1 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.366e-05/0.3127, allocations: 10.22 kB / 333.9 MB, free: 10.09 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.3127, allocations: 13.44 kB / 333.9 MB, free: 10.09 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3127, allocations: 0 / 333.9 MB, free: 10.09 MB / 270.1 MB Notification: Performance of Templates: time 0.003619/0.3164, allocations: 0.796 MB / 334.7 MB, free: 9.559 MB / 270.1 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)