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.001356/0.001356, allocations: 113.5 kB / 16.63 MB, free: 6.812 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.001446/0.001447, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.556/1.556, allocations: 205.1 MB / 223.4 MB, free: 12.37 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.001167/0.001167, allocations: 48.58 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1122, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.004027/0.1163, allocations: 2.036 MB / 328.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.1173, allocations: 0.5347 MB / 328.7 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1174, allocations: 8 kB / 328.7 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1176, allocations: 15.84 kB / 328.7 MB, free: 2.164 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.302e-05/0.1177, allocations: 23.78 kB / 328.7 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1179, allocations: 39.95 kB / 328.8 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.1182, allocations: 147.4 kB / 328.9 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.1184, allocations: 69.52 kB / 329 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1185, allocations: 67.72 kB / 329.1 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1187, allocations: 63.75 kB / 329.1 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.1187, allocations: 16 kB / 329.1 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.701e-05/0.1187, allocations: 15.94 kB / 329.2 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.1188, allocations: 27.92 kB / 329.2 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.1189, allocations: 75.66 kB / 329.3 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1191, allocations: 159.7 kB / 329.4 MB, free: 1.473 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1191, allocations: 0 / 329.4 MB, free: 1.473 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1191, allocations: 4 kB / 329.4 MB, free: 1.469 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1191, allocations: 0 / 329.4 MB, free: 1.469 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.0006759/0.1198, allocations: 447 kB / 329.8 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1198, allocations: 8.031 kB / 329.9 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.1199, allocations: 16.75 kB / 329.9 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1201, allocations: 204.1 kB / 330.1 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.1201, allocations: 8.375 kB / 330.1 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.1202, allocations: 20.38 kB / 330.1 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.1205, allocations: 149.4 kB / 330.2 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1205, allocations: 3.938 kB / 330.2 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1205, allocations: 4 kB / 330.3 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1205, allocations: 4 kB / 330.3 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.1207, allocations: 91.94 kB / 330.3 MB, free: 452 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007838/0.1215, allocations: 0.5365 MB / 330.9 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1217, allocations: 74.48 kB / 331 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.957e-05/0.1218, allocations: 36.84 kB / 331 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1218, allocations: 0 / 331 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1218, allocations: 34.75 kB / 331 MB, free: 15.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 2.285e-06/0.1218, allocations: 0 / 331 MB, free: 15.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001017/0.1229, allocations: 0.5943 MB / 331.6 MB, free: 15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.1229, allocations: 55.34 kB / 331.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1231, allocations: 129.8 kB / 331.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1231, allocations: 25.7 kB / 331.8 MB, free: 14.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.1232, allocations: 128 kB / 332 MB, free: 14.63 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.1232, allocations: 47.38 kB / 332 MB, free: 14.58 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.1233, allocations: 41.61 kB / 332 MB, free: 14.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1234, allocations: 326.8 kB / 332.4 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.1235, allocations: 31.92 kB / 332.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.1236, allocations: 86.78 kB / 332.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.1238, allocations: 127.8 kB / 332.6 MB, free: 13.92 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1238, allocations: 0 / 332.6 MB, free: 13.92 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002338/0.1241, allocations: 157.3 kB / 332.8 MB, free: 13.76 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1241, allocations: 8 kB / 332.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1241, allocations: 3.984 kB / 332.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1241, allocations: 4 kB / 332.8 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1243, allocations: 43.92 kB / 332.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1243, allocations: 7.938 kB / 332.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.1244, allocations: 4 kB / 332.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1244, allocations: 8.188 kB / 332.8 MB, free: 13.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/0.1245, allocations: 125.8 kB / 333 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.1245, allocations: 7.906 kB / 333 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.1246, allocations: 20.36 kB / 333 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1246, allocations: 3.938 kB / 333 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1246, allocations: 3.938 kB / 333 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1246, allocations: 0 / 333 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.1251, allocations: 444 kB / 333.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1251, allocations: 4 kB / 333.4 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.1253, allocations: 23.98 kB / 333.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1253, allocations: 0 / 333.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1253, allocations: 0 / 333.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1253, allocations: 4 kB / 333.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1253, allocations: 0 / 333.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.1256, allocations: 257 kB / 333.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.1257, allocations: 85.05 kB / 333.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1257, allocations: 4 kB / 333.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.1258, allocations: 4 kB / 333.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.1258, allocations: 16.02 kB / 333.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1258, allocations: 8.062 kB / 333.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.1259, allocations: 91.27 kB / 333.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1259, allocations: 4 kB / 333.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1262, allocations: 24.19 kB / 333.9 MB, free: 12.46 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 (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.000116/0.1263, allocations: 107.2 kB / 334 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.1265, allocations: 88.09 kB / 334.1 MB, free: 12.26 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1265, allocations: 8.062 kB / 334.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.492e-05/0.1266, allocations: 35.92 kB / 334.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.127, allocations: 24.14 kB / 334.2 MB, free: 12.19 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.1278, allocations: 483.6 kB / 334.7 MB, free: 11.69 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1281, allocations: 0.7158 MB / 335.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.638e-05/0.1282, allocations: 8.875 kB / 335.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.1282, allocations: 15.44 kB / 335.4 MB, free: 10.92 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1282, allocations: 0 / 335.4 MB, free: 10.92 MB / 286.1 MB Notification: Performance of Templates: time 0.003297/0.1315, allocations: 0.841 MB / 336.2 MB, free: 10.08 MB / 286.1 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)