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.001004/0.001004, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001275/0.001275, allocations: 168.7 kB / 15.95 MB, free: 204 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.566/1.566, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004433/0.0004434, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2718, allocations: 47.6 MB / 326.5 MB, free: 1.598 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.001968/0.2738, allocations: 1.622 MB / 328.1 MB, free: 328 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007325/0.2746, allocations: 0.5068 MB / 328.6 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.266e-05/0.2747, allocations: 6.906 kB / 328.6 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.547e-05/0.2748, allocations: 19.06 kB / 328.6 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.2748, allocations: 23.84 kB / 328.7 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.275, allocations: 33.22 kB / 328.7 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.2752, allocations: 135 kB / 328.8 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2754, allocations: 59.06 kB / 328.9 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.733e-05/0.2755, allocations: 47.8 kB / 328.9 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.2756, allocations: 60.69 kB / 329 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.2756, allocations: 7.188 kB / 329 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.257e-05/0.2756, allocations: 7.938 kB / 329 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.2756, allocations: 21.33 kB / 329 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.2757, allocations: 52.8 kB / 329.1 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.2758, allocations: 120.1 kB / 329.2 MB, free: 15.51 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2758, allocations: 1.281 kB / 329.2 MB, free: 15.51 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2758, allocations: 0 / 329.2 MB, free: 15.51 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.2759, allocations: 4 kB / 329.2 MB, free: 15.51 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.0004831/0.2763, allocations: 409.9 kB / 329.6 MB, free: 15.1 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2764, allocations: 8.875 kB / 329.6 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.2764, allocations: 19.09 kB / 329.6 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.2767, allocations: 201.4 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.2767, allocations: 10.03 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.2767, allocations: 15.25 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.277, allocations: 141.5 kB / 330 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.277, allocations: 10.38 kB / 330 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.2771, allocations: 7.984 kB / 330 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2771, allocations: 4.25 kB / 330 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.2773, allocations: 95.86 kB / 330.1 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.2781, allocations: 0.5347 MB / 330.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.2783, allocations: 83.41 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.277e-05/0.2783, allocations: 36.91 kB / 330.8 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2784, allocations: 0.9375 kB / 330.8 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.2784, allocations: 31.66 kB / 330.8 MB, free: 14.09 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.2784, allocations: 0 / 330.8 MB, free: 14.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001023/0.2794, allocations: 0.6056 MB / 331.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2795, allocations: 52.5 kB / 331.4 MB, free: 13.47 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2796, allocations: 136.4 kB / 331.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2796, allocations: 30.67 kB / 331.6 MB, free: 13.31 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.2797, allocations: 131.2 kB / 331.7 MB, free: 13.19 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.2797, allocations: 41.14 kB / 331.8 MB, free: 13.15 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.2798, allocations: 0.9688 kB / 331.8 MB, free: 13.15 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2799, allocations: 317.1 kB / 332.1 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.28, allocations: 38.38 kB / 332.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.2801, allocations: 88.45 kB / 332.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/0.2802, allocations: 53.41 kB / 332.3 MB, free: 12.7 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2802, allocations: 0.875 kB / 332.3 MB, free: 12.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002621/0.2805, allocations: 160.4 kB / 332.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.2805, allocations: 5.969 kB / 332.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2805, allocations: 6.094 kB / 332.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2805, allocations: 7.875 kB / 332.4 MB, free: 12.6 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.2807, allocations: 40.81 kB / 332.5 MB, free: 12.59 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2807, allocations: 3.188 kB / 332.5 MB, free: 12.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.2808, allocations: 8.156 kB / 332.5 MB, free: 12.59 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2808, allocations: 5.938 kB / 332.5 MB, free: 12.59 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.0001002/0.2809, allocations: 136.6 kB / 332.6 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.2809, allocations: 12.27 kB / 332.6 MB, free: 12.44 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.281, allocations: 14.55 kB / 332.7 MB, free: 12.43 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.281, allocations: 5.156 kB / 332.7 MB, free: 12.43 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.281, allocations: 1.094 kB / 332.7 MB, free: 12.43 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.281, allocations: 0 / 332.7 MB, free: 12.43 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.2815, allocations: 447.6 kB / 333.1 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2816, allocations: 5.531 kB / 333.1 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.2817, allocations: 24.27 kB / 333.1 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2817, allocations: 2.062 kB / 333.1 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2817, allocations: 5.094 kB / 333.1 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.2817, allocations: 6.203 kB / 333.1 MB, free: 11.99 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2817, allocations: 7.938 kB / 333.1 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.2821, allocations: 257.8 kB / 333.4 MB, free: 11.78 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.2821, allocations: 84.95 kB / 333.5 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.2821, allocations: 1.344 kB / 333.5 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.2822, allocations: 6.938 kB / 333.5 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.2823, allocations: 7.984 kB / 333.5 MB, free: 11.67 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.2823, allocations: 11.69 kB / 333.5 MB, free: 11.66 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.643e-05/0.2823, allocations: 98.08 kB / 333.6 MB, free: 11.58 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2823, allocations: 0 / 333.6 MB, free: 11.58 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.2827, allocations: 26.56 kB / 333.6 MB, free: 11.57 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 9.31e-05/0.2828, allocations: 93.03 kB / 333.7 MB, free: 11.48 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.283, allocations: 100.8 kB / 333.8 MB, free: 11.44 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.283, allocations: 288 / 333.8 MB, free: 11.44 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.2831, allocations: 45.42 kB / 333.9 MB, free: 11.42 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.2834, allocations: 18.98 kB / 333.9 MB, free: 11.41 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008384/0.2843, allocations: 0.5112 MB / 334.4 MB, free: 10.98 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.2847, allocations: 0.715 MB / 335.1 MB, free: 10.27 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.309e-05/0.2848, allocations: 14.39 kB / 335.1 MB, free: 10.26 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.2848, allocations: 16.72 kB / 335.1 MB, free: 10.25 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2849, allocations: 0 / 335.1 MB, free: 10.25 MB / 270.1 MB Notification: Performance of Templates: time 0.003179/0.288, allocations: 0.7636 MB / 335.9 MB, free: 9.688 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)