Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0008651/0.0008653, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008227/0.0008227, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0005181/0.0005184, allocations: 8 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3094, allocations: 47.6 MB / 326.5 MB, free: 1.363 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002332/0.3118, allocations: 1.626 MB / 328.1 MB, free: 84 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3129, allocations: 0.5081 MB / 328.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.313, allocations: 10.59 kB / 328.6 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.3132, allocations: 10.61 kB / 328.6 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.453e-05/0.3133, allocations: 27.55 kB / 328.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.3135, allocations: 30.22 kB / 328.7 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.3137, allocations: 135 kB / 328.8 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.314, allocations: 54.7 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3141, allocations: 56.77 kB / 328.9 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.3143, allocations: 47.38 kB / 329 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.3143, allocations: 9.594 kB / 329 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.354e-05/0.3143, allocations: 14.94 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.3144, allocations: 23.52 kB / 329 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.3144, allocations: 48.08 kB / 329.1 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.3146, allocations: 121 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.3147, allocations: 1.125 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.3147, allocations: 0 / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3147, allocations: 4 kB / 329.2 MB, free: 15.27 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.0009045/0.3156, allocations: 413.5 kB / 329.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.524e-05/0.3157, allocations: 9.969 kB / 329.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.334e-05/0.3158, allocations: 15.41 kB / 329.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.3161, allocations: 208.6 kB / 329.8 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.3161, allocations: 14.69 kB / 329.8 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.3162, allocations: 21.67 kB / 329.9 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.3166, allocations: 146.8 kB / 330 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.3167, allocations: 1.438 kB / 330 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.3167, allocations: 5.438 kB / 330 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.3167, allocations: 3.594 kB / 330 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.317, allocations: 95.94 kB / 330.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.3182, allocations: 0.5316 MB / 330.6 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.3185, allocations: 79.05 kB / 330.7 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.812e-05/0.3186, allocations: 32.62 kB / 330.8 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3186, allocations: 1.062 kB / 330.8 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.3187, allocations: 35.72 kB / 330.8 MB, free: 13.86 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 2.365e-06/0.3187, allocations: 0 / 330.8 MB, free: 13.86 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001213/0.3199, allocations: 0.6093 MB / 331.4 MB, free: 13.29 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3199, allocations: 56.78 kB / 331.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3201, allocations: 132.8 kB / 331.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3201, allocations: 27.14 kB / 331.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3202, allocations: 131.3 kB / 331.7 MB, free: 12.95 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.3203, allocations: 36.55 kB / 331.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.3203, allocations: 4 kB / 331.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3204, allocations: 322.2 kB / 332.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-05/0.3205, allocations: 30.42 kB / 332.1 MB, free: 12.58 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.3207, allocations: 95.33 kB / 332.2 MB, free: 12.49 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.3208, allocations: 49.33 kB / 332.3 MB, free: 12.46 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3208, allocations: 0 / 332.3 MB, free: 12.46 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000285/0.3211, allocations: 160.8 kB / 332.4 MB, free: 12.37 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.3211, allocations: 6.5 kB / 332.4 MB, free: 12.37 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3211, allocations: 2.188 kB / 332.4 MB, free: 12.37 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3212, allocations: 6.5 kB / 332.4 MB, free: 12.37 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3214, allocations: 41.73 kB / 332.5 MB, free: 12.36 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.3214, allocations: 2.875 kB / 332.5 MB, free: 12.36 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.3215, allocations: 8.297 kB / 332.5 MB, free: 12.35 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.3215, allocations: 10.25 kB / 332.5 MB, free: 12.35 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.0001262/0.3216, allocations: 132.2 kB / 332.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.3217, allocations: 12.83 kB / 332.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.3217, allocations: 13.53 kB / 332.6 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3217, allocations: 5.562 kB / 332.7 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3217, allocations: 1.188 kB / 332.7 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3217, allocations: 48 / 332.7 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.3223, allocations: 453.2 kB / 333.1 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3223, allocations: 8.062 kB / 333.1 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3225, allocations: 29.77 kB / 333.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3225, allocations: 1.406 kB / 333.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3225, allocations: 5.422 kB / 333.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3225, allocations: 1.438 kB / 333.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3225, allocations: 0 / 333.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.3229, allocations: 253.6 kB / 333.4 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.323, allocations: 87.98 kB / 333.5 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.323, allocations: 6.234 kB / 333.5 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.3231, allocations: 3.688 kB / 333.5 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.3231, allocations: 15.52 kB / 333.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3231, allocations: 6.75 kB / 333.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.361e-05/0.3232, allocations: 94.8 kB / 333.6 MB, free: 11.34 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3232, allocations: 0 / 333.6 MB, free: 11.34 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000275/0.3235, allocations: 27.72 kB / 333.6 MB, free: 11.34 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.0001362/0.3236, allocations: 96.53 kB / 333.7 MB, free: 11.25 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.3239, allocations: 91.97 kB / 333.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3239, allocations: 1 kB / 333.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 9.974e-05/0.324, allocations: 45.06 kB / 333.9 MB, free: 11.19 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.3244, allocations: 17.64 kB / 333.9 MB, free: 11.18 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008628/0.3253, allocations: 0.5075 MB / 334.4 MB, free: 10.76 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.3256, allocations: 0.7192 MB / 335.1 MB, free: 10.04 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.851e-05/0.3256, allocations: 9.531 kB / 335.1 MB, free: 10.03 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.3257, allocations: 17.91 kB / 335.1 MB, free: 10.02 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3257, allocations: 0 / 335.1 MB, free: 10.02 MB / 270.1 MB Notification: Performance of Templates: time 0.00358/0.3293, allocations: 0.7696 MB / 335.9 MB, free: 9.578 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1)