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.001444/0.001445, allocations: 106.6 kB / 16.51 MB, free: 6.707 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.001549/0.001549, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.446/1.446, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001301/0.001301, allocations: 43.94 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1128, allocations: 46.62 MB / 325.9 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.005441/0.1183, allocations: 2.032 MB / 328 MB, free: 2.844 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1195, allocations: 0.5425 MB / 328.5 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.1198, allocations: 4 kB / 328.5 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1201, allocations: 15.84 kB / 328.5 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.1203, allocations: 27.77 kB / 328.6 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.1207, allocations: 31.98 kB / 328.6 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.1211, allocations: 139.5 kB / 328.7 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.1215, allocations: 61.94 kB / 328.8 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.1217, allocations: 51.8 kB / 328.8 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.1219, allocations: 71.67 kB / 328.9 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.1219, allocations: 12 kB / 328.9 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.959e-05/0.122, allocations: 8 kB / 328.9 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.122, allocations: 27.92 kB / 329 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1222, allocations: 67.67 kB / 329 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.1224, allocations: 167.6 kB / 329.2 MB, free: 1.617 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1224, allocations: 0 / 329.2 MB, free: 1.617 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1224, allocations: 0 / 329.2 MB, free: 1.617 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1225, allocations: 0 / 329.2 MB, free: 1.617 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.0006833/0.1231, allocations: 439.1 kB / 329.6 MB, free: 1.141 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1232, allocations: 12.03 kB / 329.6 MB, free: 1.129 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.1233, allocations: 16.75 kB / 329.6 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1235, allocations: 200.1 kB / 329.8 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1235, allocations: 20.31 kB / 329.9 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.1237, allocations: 16.38 kB / 329.9 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.124, allocations: 149.4 kB / 330 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.124, allocations: 3.938 kB / 330 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.124, allocations: 12 kB / 330 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.124, allocations: 4 kB / 330 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.1243, allocations: 91.88 kB / 330.1 MB, free: 0.582 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009201/0.1252, allocations: 0.5289 MB / 330.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1255, allocations: 78.44 kB / 330.7 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/0.1256, allocations: 32.84 kB / 330.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1256, allocations: 0 / 330.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1256, allocations: 30.56 kB / 330.8 MB, free: 15.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.1256, allocations: 0 / 330.8 MB, free: 15.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001134/0.1268, allocations: 0.5984 MB / 331.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.1268, allocations: 59.34 kB / 331.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.127, allocations: 121.8 kB / 331.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.127, allocations: 38.67 kB / 331.6 MB, free: 14.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.404e-05/0.1271, allocations: 135.9 kB / 331.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.1272, allocations: 39.39 kB / 331.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.1272, allocations: 41.62 kB / 331.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1273, allocations: 318.8 kB / 332.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.845e-05/0.1274, allocations: 31.98 kB / 332.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1276, allocations: 82.84 kB / 332.3 MB, free: 14.22 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.1278, allocations: 134.7 kB / 332.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1278, allocations: 0 / 332.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002749/0.1281, allocations: 157.4 kB / 332.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1281, allocations: 7.938 kB / 332.5 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1281, allocations: 4 kB / 332.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1281, allocations: 4 kB / 332.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1283, allocations: 31.98 kB / 332.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.1283, allocations: 7.938 kB / 332.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/0.1284, allocations: 4.172 kB / 332.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.1285, allocations: 16 kB / 332.6 MB, free: 13.83 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 0.0001073/0.1286, allocations: 125.8 kB / 332.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.1286, allocations: 7.906 kB / 332.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.1287, allocations: 12.38 kB / 332.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1287, allocations: 4 kB / 332.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1287, allocations: 3.938 kB / 332.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1287, allocations: 3.984 kB / 332.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.1293, allocations: 444 kB / 333.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1293, allocations: 3.984 kB / 333.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.1294, allocations: 27.92 kB / 333.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.1294, allocations: 4 kB / 333.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1294, allocations: 0 / 333.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1295, allocations: 0 / 333.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1295, allocations: 4 kB / 333.2 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.1298, allocations: 249.2 kB / 333.5 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.1299, allocations: 101 kB / 333.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.1299, allocations: 4 kB / 333.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.13, allocations: 4 kB / 333.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.13, allocations: 16.05 kB / 333.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.13, allocations: 4 kB / 333.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.399e-05/0.1301, allocations: 95.27 kB / 333.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1301, allocations: 0 / 333.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1304, allocations: 28 kB / 333.7 MB, free: 12.6 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 9.655e-05/0.1305, allocations: 95.25 kB / 333.8 MB, free: 12.5 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1307, allocations: 96.02 kB / 333.9 MB, free: 12.4 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1307, allocations: 0 / 333.9 MB, free: 12.4 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.705e-05/0.1308, allocations: 39.92 kB / 334 MB, free: 12.36 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1312, allocations: 11.94 kB / 334 MB, free: 12.35 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.1319, allocations: 489.5 kB / 334.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1322, allocations: 0.7121 MB / 335.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.958e-05/0.1323, allocations: 12.88 kB / 335.2 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.1323, allocations: 15.44 kB / 335.2 MB, free: 11.08 MB / 286.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1323, allocations: 0 / 335.2 MB, free: 11.08 MB / 286.1 MB Notification: Performance of Templates: time 0.003244/0.1355, allocations: 0.8064 MB / 336 MB, free: 10.27 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)