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.001059/0.001059, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.007859/0.007859, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.661/1.661, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0005479/0.0005482, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2832, allocations: 47.58 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002161/0.2854, allocations: 1.676 MB / 328.7 MB, free: 104 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008938/0.2864, allocations: 0.5287 MB / 329.2 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.678e-05/0.2865, allocations: 3.469 kB / 329.2 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.2866, allocations: 22.31 kB / 329.3 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.2867, allocations: 27.11 kB / 329.3 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.2869, allocations: 35.12 kB / 329.3 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.2871, allocations: 142.1 kB / 329.5 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.2873, allocations: 56.03 kB / 329.5 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.2874, allocations: 50.64 kB / 329.6 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.2875, allocations: 57.81 kB / 329.6 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.2875, allocations: 7.562 kB / 329.6 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.45e-05/0.2876, allocations: 7.438 kB / 329.6 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.2876, allocations: 24.8 kB / 329.7 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.98e-05/0.2877, allocations: 93.09 kB / 329.7 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.2879, allocations: 161.6 kB / 329.9 MB, free: 15.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2879, allocations: 0 / 329.9 MB, free: 15.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2879, allocations: 0 / 329.9 MB, free: 15.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2879, allocations: 0 / 329.9 MB, free: 15.2 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.000594/0.2885, allocations: 408.5 kB / 330.3 MB, free: 14.8 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2886, allocations: 10.09 kB / 330.3 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.2886, allocations: 19.73 kB / 330.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.2889, allocations: 202.7 kB / 330.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2889, allocations: 14.56 kB / 330.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.2889, allocations: 19.89 kB / 330.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.2892, allocations: 147 kB / 330.7 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.2893, allocations: 5.344 kB / 330.7 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.2893, allocations: 5.375 kB / 330.7 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.2893, allocations: 3.344 kB / 330.7 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.2895, allocations: 96.41 kB / 330.8 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/0.2904, allocations: 0.5396 MB / 331.3 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2906, allocations: 80.23 kB / 331.4 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.2907, allocations: 32.69 kB / 331.5 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.2907, allocations: 5.281 kB / 331.5 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.2907, allocations: 32.31 kB / 331.5 MB, free: 13.79 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.2907, allocations: 7.938 kB / 331.5 MB, free: 13.78 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001068/0.2918, allocations: 0.6017 MB / 332.1 MB, free: 13.22 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.2919, allocations: 60.48 kB / 332.2 MB, free: 13.15 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.292, allocations: 129.8 kB / 332.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.292, allocations: 25.7 kB / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.2921, allocations: 134.9 kB / 332.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.2921, allocations: 37.05 kB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.2922, allocations: 25.98 kB / 332.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2923, allocations: 316.9 kB / 332.8 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.2924, allocations: 40.38 kB / 332.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.2926, allocations: 80.2 kB / 332.9 MB, free: 12.4 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.2928, allocations: 139.8 kB / 333.1 MB, free: 12.29 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2928, allocations: 0 / 333.1 MB, free: 12.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002986/0.2931, allocations: 171.2 kB / 333.2 MB, free: 12.19 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.2931, allocations: 5.625 kB / 333.2 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2931, allocations: 5.188 kB / 333.3 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.2932, allocations: 3.812 kB / 333.3 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.2933, allocations: 36.42 kB / 333.3 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.2934, allocations: 15.55 kB / 333.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.2934, allocations: 4.062 kB / 333.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2935, allocations: 10.5 kB / 333.3 MB, free: 12.16 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.0001241/0.2936, allocations: 128.2 kB / 333.4 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.2936, allocations: 8 kB / 333.5 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.2937, allocations: 14.53 kB / 333.5 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2937, allocations: 5.953 kB / 333.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2937, allocations: 3.938 kB / 333.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2937, allocations: 4 kB / 333.5 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.2943, allocations: 449.2 kB / 333.9 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2943, allocations: 1.156 kB / 333.9 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.2945, allocations: 24.36 kB / 333.9 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2945, allocations: 9.281 kB / 334 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2945, allocations: 2.094 kB / 334 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2945, allocations: 1.062 kB / 334 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2945, allocations: 1.094 kB / 334 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.2949, allocations: 254.9 kB / 334.2 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.2949, allocations: 91.25 kB / 334.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.295, allocations: 2.156 kB / 334.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.295, allocations: 3.031 kB / 334.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.2951, allocations: 16.48 kB / 334.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.2951, allocations: 2.406 kB / 334.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.354e-05/0.2952, allocations: 99.55 kB / 334.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2952, allocations: 4.062 kB / 334.4 MB, free: 11.16 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.2955, allocations: 27.19 kB / 334.4 MB, free: 11.16 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.0001091/0.2956, allocations: 96.97 kB / 334.5 MB, free: 11.07 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.2958, allocations: 97.27 kB / 334.6 MB, free: 11.03 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2958, allocations: 384 / 334.6 MB, free: 11.03 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.775e-05/0.2959, allocations: 45.55 kB / 334.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.2963, allocations: 13.78 kB / 334.7 MB, free: 11 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008692/0.2971, allocations: 0.5251 MB / 335.2 MB, free: 10.56 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.2976, allocations: 0.7195 MB / 335.9 MB, free: 9.844 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.38e-05/0.2977, allocations: 14.7 kB / 336 MB, free: 9.832 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.2977, allocations: 16.34 kB / 336 MB, free: 9.82 MB / 270.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2977, allocations: 0 / 336 MB, free: 9.82 MB / 270.1 MB Notification: Performance of Templates: time 0.00316/0.3009, allocations: 0.7929 MB / 336.8 MB, free: 9.07 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)