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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 96.95 kB / 16.3 MB, free: 5.586 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.001612/0.001612, allocations: 184.8 kB / 17.2 MB, free: 5.52 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.508/1.508, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.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.0004613/0.0004616, allocations: 12 kB / 280.1 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09228/0.09276, allocations: 47.59 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002219/0.09502, allocations: 1.59 MB / 329.3 MB, free: 2.496 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008858/0.09594, allocations: 0.5116 MB / 329.8 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.09607, allocations: 4 kB / 329.8 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.548e-05/0.09614, allocations: 15.91 kB / 329.8 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.09628, allocations: 39.86 kB / 329.9 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.09649, allocations: 35.95 kB / 329.9 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.0967, allocations: 95.81 kB / 330 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.09688, allocations: 46.16 kB / 330 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.09702, allocations: 51.84 kB / 330.1 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.09715, allocations: 55.7 kB / 330.1 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.09718, allocations: 8 kB / 330.1 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.547e-05/0.09722, allocations: 12 kB / 330.2 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.09725, allocations: 19.92 kB / 330.2 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.09731, allocations: 49.64 kB / 330.2 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.09744, allocations: 119.9 kB / 330.3 MB, free: 1.426 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.09745, allocations: 0 / 330.3 MB, free: 1.426 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09746, allocations: 0 / 330.3 MB, free: 1.426 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.09748, allocations: 0 / 330.3 MB, free: 1.426 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.0006464/0.09813, allocations: 430.9 kB / 330.8 MB, free: 0.957 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.09818, allocations: 8.031 kB / 330.8 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.09825, allocations: 19.83 kB / 330.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.09851, allocations: 210.6 kB / 331 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.09854, allocations: 8 kB / 331 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.09859, allocations: 23.98 kB / 331 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.09892, allocations: 141.1 kB / 331.2 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.09895, allocations: 0 / 331.2 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.09897, allocations: 7.984 kB / 331.2 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.09899, allocations: 8 kB / 331.2 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.09921, allocations: 91.94 kB / 331.3 MB, free: 412 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008501/0.1001, allocations: 0.5327 MB / 331.8 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1003, allocations: 78.48 kB / 331.9 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.1003, allocations: 0 / 331.9 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.1003, allocations: 38.56 kB / 331.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.1004, allocations: 0 / 331.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001092/0.1015, allocations: 0.6071 MB / 332.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.1015, allocations: 59.34 kB / 332.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1016, allocations: 121.5 kB / 332.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1017, allocations: 33.7 kB / 332.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.1018, allocations: 135.9 kB / 332.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.1018, allocations: 47.28 kB / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.1018, allocations: 4 kB / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1019, allocations: 326.8 kB / 333.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.102, allocations: 28.17 kB / 333.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1022, allocations: 86.84 kB / 333.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1023, allocations: 51.92 kB / 333.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1023, allocations: 3.938 kB / 333.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002825/0.1026, allocations: 157.4 kB / 333.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1026, allocations: 7.953 kB / 333.6 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1026, allocations: 4 kB / 333.6 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1026, allocations: 0 / 333.6 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.1028, allocations: 39.98 kB / 333.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1028, allocations: 7.938 kB / 333.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.1029, allocations: 7.984 kB / 333.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1029, allocations: 8 kB / 333.6 MB, free: 13.8 MB / 286.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.0001016/0.103, allocations: 126.3 kB / 333.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.1031, allocations: 7.906 kB / 333.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.1031, allocations: 16.33 kB / 333.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1031, allocations: 4 kB / 333.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1031, allocations: 0 / 333.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1031, allocations: 3.984 kB / 333.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.1037, allocations: 444 kB / 334.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1037, allocations: 0 / 334.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.1038, allocations: 31.92 kB / 334.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1038, allocations: 48 / 334.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1038, allocations: 11.97 kB / 334.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1039, allocations: 4 kB / 334.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1039, allocations: 0 / 334.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.1042, allocations: 284.7 kB / 334.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.1043, allocations: 93.05 kB / 334.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.1043, allocations: 3.984 kB / 334.6 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.1044, allocations: 8 kB / 334.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.1044, allocations: 7.984 kB / 334.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1044, allocations: 4 kB / 334.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.1045, allocations: 103.2 kB / 334.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1045, allocations: 0 / 334.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1048, allocations: 24 kB / 334.8 MB, free: 12.53 MB / 286.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 0.0001154/0.1049, allocations: 99.25 kB / 334.9 MB, free: 12.42 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.1051, allocations: 95.83 kB / 335 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1052, allocations: 0 / 335 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.1052, allocations: 40.36 kB / 335 MB, free: 12.29 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.1055, allocations: 16 kB / 335 MB, free: 12.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.1062, allocations: 0.5072 MB / 335.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1066, allocations: 0.716 MB / 336.2 MB, free: 10.99 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.1067, allocations: 16.88 kB / 336.3 MB, free: 10.97 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.1067, allocations: 11.44 kB / 336.3 MB, free: 10.96 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1067, allocations: 0 / 336.3 MB, free: 10.96 MB / 286.1 MB Notification: Performance of Templates: time 0.003337/0.11, allocations: 0.7691 MB / 337 MB, free: 10.19 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: