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.00119/0.001189, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008493/0.008493, allocations: 170 kB / 16.26 MB, free: 6.613 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.587/1.587, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0007051/0.0007054, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3559, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002432/0.3584, allocations: 1.675 MB / 328.7 MB, free: 88 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.000999/0.3594, allocations: 0.534 MB / 329.2 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.3595, allocations: 2.75 kB / 329.2 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3597, allocations: 14.64 kB / 329.2 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/0.3597, allocations: 30.77 kB / 329.3 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.36, allocations: 38.66 kB / 329.3 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.3602, allocations: 146.3 kB / 329.5 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.3605, allocations: 51.55 kB / 329.5 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.3606, allocations: 55.09 kB / 329.6 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.3608, allocations: 58.27 kB / 329.6 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.3608, allocations: 6.469 kB / 329.6 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.545e-05/0.3608, allocations: 7.781 kB / 329.6 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.3609, allocations: 24.98 kB / 329.7 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.361, allocations: 90.23 kB / 329.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.3612, allocations: 160.3 kB / 329.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3612, allocations: 3.938 kB / 329.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.3612, allocations: 1.219 kB / 329.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3613, allocations: 0 / 329.9 MB, free: 15.18 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.0006795/0.3619, allocations: 408.5 kB / 330.3 MB, free: 14.77 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.362, allocations: 9.062 kB / 330.3 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.3621, allocations: 16.91 kB / 330.3 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.3623, allocations: 205.2 kB / 330.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3623, allocations: 11.31 kB / 330.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.3624, allocations: 14.78 kB / 330.6 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.3627, allocations: 151.9 kB / 330.7 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.3627, allocations: 5.062 kB / 330.7 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.3628, allocations: 9.188 kB / 330.7 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3628, allocations: 3.969 kB / 330.7 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.363, allocations: 93.22 kB / 330.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008917/0.3639, allocations: 0.5311 MB / 331.3 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.3641, allocations: 88.11 kB / 331.4 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.3642, allocations: 28.72 kB / 331.5 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.3642, allocations: 1.312 kB / 331.5 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3642, allocations: 36.09 kB / 331.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3642, allocations: 3.938 kB / 331.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.00101/0.3652, allocations: 0.6015 MB / 332.1 MB, free: 13.21 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3653, allocations: 58.16 kB / 332.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.3655, allocations: 131.5 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3655, allocations: 30.77 kB / 332.3 MB, free: 12.99 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3656, allocations: 135.6 kB / 332.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.3656, allocations: 40.42 kB / 332.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.3657, allocations: 17.69 kB / 332.5 MB, free: 12.8 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3658, allocations: 321.3 kB / 332.8 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.3659, allocations: 31.77 kB / 332.9 MB, free: 12.47 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.366, allocations: 88.88 kB / 332.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.3663, allocations: 138.7 kB / 333.1 MB, free: 12.27 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3663, allocations: 0 / 333.1 MB, free: 12.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003035/0.3666, allocations: 167 kB / 333.2 MB, free: 12.18 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3666, allocations: 6.156 kB / 333.2 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3666, allocations: 10.28 kB / 333.3 MB, free: 12.17 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3667, allocations: 2.625 kB / 333.3 MB, free: 12.17 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.3668, allocations: 33.55 kB / 333.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3669, allocations: 10.25 kB / 333.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.3669, allocations: 8.625 kB / 333.3 MB, free: 12.15 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.367, allocations: 6.094 kB / 333.3 MB, free: 12.15 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.000111/0.3671, allocations: 141.5 kB / 333.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.3671, allocations: 8.094 kB / 333.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.3672, allocations: 14.09 kB / 333.5 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3672, allocations: 1.5 kB / 333.5 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3672, allocations: 3.938 kB / 333.5 MB, free: 11.99 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3672, allocations: 1.031 kB / 333.5 MB, free: 11.99 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.3678, allocations: 452.6 kB / 333.9 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3678, allocations: 0 / 333.9 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.3679, allocations: 29.77 kB / 333.9 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3679, allocations: 1.469 kB / 334 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.368, allocations: 1.469 kB / 334 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.368, allocations: 1.469 kB / 334 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.368, allocations: 0 / 334 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.3683, allocations: 270.5 kB / 334.2 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.3684, allocations: 84.36 kB / 334.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.3684, allocations: 2.062 kB / 334.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.3685, allocations: 11.23 kB / 334.3 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.3685, allocations: 7.719 kB / 334.3 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3685, allocations: 3.656 kB / 334.3 MB, free: 11.23 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.3686, allocations: 94.61 kB / 334.4 MB, free: 11.15 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3686, allocations: 0 / 334.4 MB, free: 11.15 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3689, allocations: 26.41 kB / 334.4 MB, free: 11.15 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.0001166/0.369, allocations: 101.8 kB / 334.5 MB, free: 11.05 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3693, allocations: 92.28 kB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3693, allocations: 0.9688 kB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.782e-05/0.3694, allocations: 41.52 kB / 334.7 MB, free: 11 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3697, allocations: 23.19 kB / 334.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007927/0.3705, allocations: 0.5254 MB / 335.2 MB, free: 10.55 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.3709, allocations: 0.7184 MB / 335.9 MB, free: 9.828 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.992e-05/0.3709, allocations: 18 kB / 336 MB, free: 9.812 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.371, allocations: 18.25 kB / 336 MB, free: 9.801 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.371, allocations: 0 / 336 MB, free: 9.801 MB / 270.1 MB Notification: Performance of Templates: time 0.003223/0.3742, allocations: 0.7717 MB / 336.7 MB, free: 9.098 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)