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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009797/0.0009799, allocations: 89.08 kB / 16.31 MB, free: 6.449 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.001099/0.001099, allocations: 181.4 kB / 17.21 MB, free: 6.32 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.561/1.561, allocations: 205.4 MB / 223.4 MB, free: 5.738 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.0007423/0.0007424, allocations: 12 kB / 280.1 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2922, allocations: 47.59 MB / 327.7 MB, free: 1.539 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002166/0.2944, allocations: 1.629 MB / 329.4 MB, free: 260 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008426/0.2953, allocations: 0.5037 MB / 329.9 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.2954, allocations: 7.281 kB / 329.9 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.2955, allocations: 22 kB / 329.9 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.2956, allocations: 27.67 kB / 329.9 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.2958, allocations: 25.72 kB / 329.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.2961, allocations: 134.3 kB / 330.1 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.2962, allocations: 56.58 kB / 330.1 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.2964, allocations: 46.8 kB / 330.2 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.2965, allocations: 60.41 kB / 330.2 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.2965, allocations: 8.375 kB / 330.2 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.444e-05/0.2966, allocations: 6.938 kB / 330.2 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.2966, allocations: 24.64 kB / 330.3 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.2967, allocations: 50.2 kB / 330.3 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.2968, allocations: 120.5 kB / 330.4 MB, free: 15.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2969, allocations: 0 / 330.4 MB, free: 15.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2969, allocations: 0 / 330.4 MB, free: 15.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2969, allocations: 4 kB / 330.4 MB, free: 15.45 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.0005947/0.2975, allocations: 409.7 kB / 330.8 MB, free: 15.04 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2975, allocations: 9.469 kB / 330.8 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.2976, allocations: 16.38 kB / 330.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.2978, allocations: 208.1 kB / 331.1 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.2978, allocations: 10.78 kB / 331.1 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.2979, allocations: 21.56 kB / 331.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.2982, allocations: 150.2 kB / 331.2 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.2982, allocations: 1.5 kB / 331.2 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.2982, allocations: 13.19 kB / 331.3 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.2983, allocations: 4.375 kB / 331.3 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.2985, allocations: 95.47 kB / 331.4 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.2993, allocations: 0.5318 MB / 331.9 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.2995, allocations: 82.98 kB / 332 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.885e-05/0.2996, allocations: 24.05 kB / 332 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.2996, allocations: 1.812 kB / 332 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.2996, allocations: 39.61 kB / 332 MB, free: 14.03 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.2996, allocations: 192 / 332 MB, free: 14.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001179/0.3008, allocations: 0.6056 MB / 332.6 MB, free: 13.47 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.3009, allocations: 56.31 kB / 332.7 MB, free: 13.4 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.301, allocations: 135.6 kB / 332.8 MB, free: 13.28 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.301, allocations: 26.7 kB / 332.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.3011, allocations: 132 kB / 333 MB, free: 13.12 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.3011, allocations: 40.61 kB / 333 MB, free: 13.09 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.3012, allocations: 1.281 kB / 333 MB, free: 13.09 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.3014, allocations: 320.1 kB / 333.3 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.3015, allocations: 35.83 kB / 333.4 MB, free: 12.75 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3016, allocations: 91.94 kB / 333.5 MB, free: 12.66 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.3017, allocations: 44 kB / 333.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3017, allocations: 1.062 kB / 333.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002719/0.302, allocations: 166 kB / 333.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.302, allocations: 5.281 kB / 333.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.302, allocations: 2.812 kB / 333.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3021, allocations: 6.656 kB / 333.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3022, allocations: 37.8 kB / 333.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3022, allocations: 2.781 kB / 333.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.3023, allocations: 8.094 kB / 333.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3023, allocations: 6.531 kB / 333.7 MB, free: 12.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.3024, allocations: 136.2 kB / 333.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.3025, allocations: 11.98 kB / 333.9 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.3025, allocations: 14.59 kB / 333.9 MB, free: 12.37 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3025, allocations: 5.094 kB / 333.9 MB, free: 12.37 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3026, allocations: 1.031 kB / 333.9 MB, free: 12.37 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3026, allocations: 0 / 333.9 MB, free: 12.37 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.3031, allocations: 455.9 kB / 334.3 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3031, allocations: 5.125 kB / 334.4 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.3033, allocations: 24.8 kB / 334.4 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3033, allocations: 1.188 kB / 334.4 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3033, allocations: 6.188 kB / 334.4 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3033, allocations: 1.125 kB / 334.4 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3033, allocations: 4.859 kB / 334.4 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.3037, allocations: 262.1 kB / 334.6 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.3038, allocations: 84.17 kB / 334.7 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.3038, allocations: 1.125 kB / 334.7 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.3039, allocations: 11.33 kB / 334.7 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.304, allocations: 8.375 kB / 334.7 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.304, allocations: 6.562 kB / 334.8 MB, free: 11.6 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.377e-05/0.3041, allocations: 102.7 kB / 334.9 MB, free: 11.51 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3041, allocations: 0 / 334.9 MB, free: 11.51 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.3044, allocations: 23.53 kB / 334.9 MB, free: 11.51 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 (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.000165/0.3045, allocations: 97.22 kB / 335 MB, free: 11.42 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.3048, allocations: 91.91 kB / 335.1 MB, free: 11.38 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3048, allocations: 1.031 kB / 335.1 MB, free: 11.38 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.305, allocations: 40.61 kB / 335.1 MB, free: 11.37 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.3054, allocations: 30.56 kB / 335.1 MB, free: 11.34 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.3064, allocations: 0.5064 MB / 335.6 MB, free: 10.92 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.307, allocations: 0.7161 MB / 336.4 MB, free: 10.21 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.801e-05/0.3071, allocations: 13.22 kB / 336.4 MB, free: 10.2 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.3071, allocations: 17.34 kB / 336.4 MB, free: 10.18 MB / 270.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3071, allocations: 5.312 kB / 336.4 MB, free: 10.18 MB / 270.1 MB Notification: Performance of Templates: time 0.004305/0.3114, allocations: 0.7713 MB / 337.2 MB, free: 9.672 MB / 270.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)