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.001966/0.001966, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002717/0.002717, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.554/1.554, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.001367/0.001367, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2751, allocations: 46.63 MB / 324.8 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003161/0.2783, allocations: 2.025 MB / 326.9 MB, free: 376 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008766/0.2792, allocations: 0.5345 MB / 327.4 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2793, allocations: 3.594 kB / 327.4 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.2795, allocations: 18.31 kB / 327.4 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.846e-05/0.2796, allocations: 23.22 kB / 327.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.2798, allocations: 38.83 kB / 327.5 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.28, allocations: 151.1 kB / 327.6 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.2802, allocations: 67.77 kB / 327.7 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.2803, allocations: 60.38 kB / 327.8 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.2804, allocations: 69.84 kB / 327.8 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.2804, allocations: 14.38 kB / 327.8 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.057e-05/0.2805, allocations: 13.78 kB / 327.8 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.2805, allocations: 36.61 kB / 327.9 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.361e-05/0.2806, allocations: 73.56 kB / 328 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.2808, allocations: 166.2 kB / 328.1 MB, free: 15.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2808, allocations: 0 / 328.1 MB, free: 15.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.2808, allocations: 5 kB / 328.1 MB, free: 15.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2808, allocations: 0 / 328.1 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.0007146/0.2816, allocations: 440.8 kB / 328.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.2816, allocations: 13.38 kB / 328.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.2817, allocations: 16.09 kB / 328.6 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.2819, allocations: 198.2 kB / 328.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.2819, allocations: 10.53 kB / 328.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.282, allocations: 22.97 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.2824, allocations: 149.7 kB / 329 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.2824, allocations: 1.156 kB / 329 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.2824, allocations: 5.281 kB / 329 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2824, allocations: 4.75 kB / 329 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.2827, allocations: 92.78 kB / 329.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009652/0.2836, allocations: 0.5285 MB / 329.6 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.2839, allocations: 78.66 kB / 329.7 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.284, allocations: 34.5 kB / 329.7 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.284, allocations: 1.375 kB / 329.7 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.284, allocations: 35.62 kB / 329.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.284, allocations: 0 / 329.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001271/0.2853, allocations: 0.5916 MB / 330.3 MB, free: 13.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.2854, allocations: 57.84 kB / 330.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.2855, allocations: 132.3 kB / 330.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.2856, allocations: 30.83 kB / 330.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.2857, allocations: 136 kB / 330.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.2857, allocations: 39.94 kB / 330.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.654e-05/0.2858, allocations: 36.86 kB / 330.7 MB, free: 13.04 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.286, allocations: 321.3 kB / 331.1 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.2861, allocations: 29.36 kB / 331.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2862, allocations: 90.97 kB / 331.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.2864, allocations: 131.1 kB / 331.3 MB, free: 12.51 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2865, allocations: 3.938 kB / 331.3 MB, free: 12.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003108/0.2868, allocations: 158.8 kB / 331.5 MB, free: 12.41 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.2868, allocations: 9.109 kB / 331.5 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.2868, allocations: 6.375 kB / 331.5 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.2869, allocations: 2.219 kB / 331.5 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2871, allocations: 41.7 kB / 331.5 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.2871, allocations: 7.125 kB / 331.5 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.2872, allocations: 6.938 kB / 331.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2872, allocations: 5.625 kB / 331.5 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.0001225/0.2873, allocations: 128.4 kB / 331.7 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.2874, allocations: 12.27 kB / 331.7 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.2874, allocations: 15.31 kB / 331.7 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2874, allocations: 1.375 kB / 331.7 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2874, allocations: 7.938 kB / 331.7 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2874, allocations: 0 / 331.7 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.288, allocations: 445.9 kB / 332.1 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.288, allocations: 0 / 332.1 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.2881, allocations: 23.77 kB / 332.2 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2881, allocations: 2.719 kB / 332.2 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2882, allocations: 5.406 kB / 332.2 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2882, allocations: 0.75 kB / 332.2 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2882, allocations: 0.6562 kB / 332.2 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.2885, allocations: 256.8 kB / 332.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.2886, allocations: 84.36 kB / 332.5 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.2886, allocations: 6.156 kB / 332.5 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.2887, allocations: 1.5 kB / 332.5 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.2887, allocations: 12.64 kB / 332.5 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.2888, allocations: 2.531 kB / 332.5 MB, free: 11.48 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.637e-05/0.2888, allocations: 96.33 kB / 332.6 MB, free: 11.4 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2888, allocations: 0 / 332.6 MB, free: 11.4 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.2891, allocations: 26.72 kB / 332.6 MB, free: 11.39 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.0001221/0.2892, allocations: 108.6 kB / 332.8 MB, free: 11.29 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.2894, allocations: 89.78 kB / 332.8 MB, free: 11.25 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2895, allocations: 1.469 kB / 332.8 MB, free: 11.25 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.2895, allocations: 39.11 kB / 332.9 MB, free: 11.24 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.2899, allocations: 17.97 kB / 332.9 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000942/0.2909, allocations: 491.5 kB / 333.4 MB, free: 10.83 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.2912, allocations: 0.7064 MB / 334.1 MB, free: 10.12 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.732e-05/0.2913, allocations: 14.53 kB / 334.1 MB, free: 10.11 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.2914, allocations: 12.84 kB / 334.1 MB, free: 10.11 MB / 270.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2914, allocations: 1.062 kB / 334.1 MB, free: 10.11 MB / 270.1 MB Notification: Performance of Templates: time 0.003492/0.2949, allocations: 0.8379 MB / 335 MB, free: 9.438 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)