Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001194/0.001194, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.474/1.474, allocations: 194.3 MB / 208.4 MB, free: 6.699 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001586/0.001586, allocations: 100.8 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.002e-05/4.01e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08617, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/0.4129, allocations: 72.73 MB / 422.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.4131, allocations: 70.22 kB / 422.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006372/0.4195, allocations: 2.49 MB / 424.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4196, allocations: 0 / 424.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.4196, allocations: 0 / 424.7 MB, free: 10.46 MB / 298.7 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.0004248/0.42, allocations: 408.6 kB / 425.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4201, allocations: 7.688 kB / 425.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.4201, allocations: 19.66 kB / 425.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.4204, allocations: 213.8 kB / 425.4 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.4204, allocations: 6.812 kB / 425.4 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.4205, allocations: 15.69 kB / 425.4 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.4208, allocations: 129.7 kB / 425.5 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4208, allocations: 0 / 425.5 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.4208, allocations: 7.125 kB / 425.5 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4208, allocations: 3.812 kB / 425.5 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.421, allocations: 84.61 kB / 425.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008161/0.4218, allocations: 0.5368 MB / 426.1 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.4219, allocations: 71.17 kB / 426.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.422, allocations: 29.36 kB / 426.2 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.422, allocations: 0 / 426.2 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.4221, allocations: 34.5 kB / 426.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.4221, allocations: 0 / 426.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007898/0.4229, allocations: 0.5632 MB / 426.8 MB, free: 8.871 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.4229, allocations: 51.41 kB / 426.9 MB, free: 8.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.53e-05/0.423, allocations: 115.7 kB / 427 MB, free: 8.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.423, allocations: 29.2 kB / 427 MB, free: 8.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.4231, allocations: 134.9 kB / 427.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.4231, allocations: 41.81 kB / 427.2 MB, free: 8.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.4231, allocations: 3.125 kB / 427.2 MB, free: 8.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.4232, allocations: 326.5 kB / 427.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/0.4232, allocations: 23.06 kB / 427.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.777e-05/0.4233, allocations: 85.05 kB / 427.6 MB, free: 8.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.867e-05/0.4234, allocations: 42.05 kB / 427.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4234, allocations: 3.719 kB / 427.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001642/0.4235, allocations: 145.2 kB / 427.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4236, allocations: 7.5 kB / 427.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4236, allocations: 4.188 kB / 427.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4236, allocations: 3.719 kB / 427.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.4238, allocations: 42.72 kB / 427.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.4238, allocations: 0 / 427.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.85e-05/0.4238, allocations: 7.031 kB / 427.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4239, allocations: 11.12 kB / 427.9 MB, free: 8.055 MB / 298.7 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 () * 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 5.103e-05/0.4239, allocations: 112.7 kB / 428 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.424, allocations: 11.7 kB / 428 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.424, allocations: 20.11 kB / 428 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.424, allocations: 3.844 kB / 428 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.424, allocations: 0 / 428 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.424, allocations: 0 / 428 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.4244, allocations: 431.8 kB / 428.5 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4244, allocations: 3.812 kB / 428.5 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.4246, allocations: 27.3 kB / 428.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4246, allocations: 0 / 428.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4246, allocations: 7.625 kB / 428.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4246, allocations: 0 / 428.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4246, allocations: 3.938 kB / 428.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.4249, allocations: 258.3 kB / 428.8 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.4249, allocations: 92.47 kB / 428.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.4249, allocations: 0 / 428.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.425, allocations: 3.906 kB / 428.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.4251, allocations: 15.16 kB / 428.9 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.4251, allocations: 7.812 kB / 428.9 MB, free: 7.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.369e-05/0.4251, allocations: 102.7 kB / 429 MB, free: 7.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4251, allocations: 4.062 kB / 429 MB, free: 7.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.4254, allocations: 30.31 kB / 429 MB, free: 7.145 MB / 298.7 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 () * 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.0001262/0.4255, allocations: 98.73 kB / 429.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.4257, allocations: 82.31 kB / 429.2 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4257, allocations: 0 / 429.2 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.4258, allocations: 37.77 kB / 429.2 MB, free: 7.035 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.426, allocations: 15.7 kB / 429.2 MB, free: 7.027 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.4265, allocations: 301.5 kB / 429.5 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.4266, allocations: 0.7188 MB / 430.2 MB, free: 6.074 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.4267, allocations: 12.16 kB / 430.3 MB, free: 6.066 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.4267, allocations: 11.34 kB / 430.3 MB, free: 6.059 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4267, allocations: 4 kB / 430.3 MB, free: 6.055 MB / 298.7 MB Notification: Performance of Templates: time 0.002745/0.4295, allocations: 0.7905 MB / 431.1 MB, free: 5.676 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1)