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.007072/0.007072, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001315/0.001315, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.616/1.616, allocations: 205.1 MB / 222.6 MB, free: 4.398 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.001167/0.001167, allocations: 45.84 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1173, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00375/0.1211, allocations: 1.964 MB / 375.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1223, allocations: 0.5461 MB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.1224, allocations: 4 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.1226, allocations: 19.73 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.597e-05/0.1227, allocations: 31.7 kB / 375.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.123, allocations: 47.95 kB / 375.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.1232, allocations: 147.4 kB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.1234, allocations: 73.34 kB / 376 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1236, allocations: 63.73 kB / 376 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1237, allocations: 75.67 kB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.1237, allocations: 12 kB / 376.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.888e-05/0.1238, allocations: 20 kB / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.1238, allocations: 27.92 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.241e-05/0.1239, allocations: 71.61 kB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1241, allocations: 159.4 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1242, allocations: 4 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1242, allocations: 0 / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1242, allocations: 0 / 376.4 MB, free: 14.05 MB / 318.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.0006409/0.1248, allocations: 443.1 kB / 376.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1249, allocations: 8.031 kB / 376.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.1249, allocations: 20.69 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.1252, allocations: 208.1 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1252, allocations: 8.375 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.1253, allocations: 16.38 kB / 377.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.1256, allocations: 145.7 kB / 377.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.1256, allocations: 3.906 kB / 377.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1256, allocations: 8 kB / 377.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1256, allocations: 8 kB / 377.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.1258, allocations: 91.94 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.1266, allocations: 0.5172 MB / 377.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.1268, allocations: 78.5 kB / 377.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.1269, allocations: 32.84 kB / 378 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1269, allocations: 0 / 378 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.1269, allocations: 34.56 kB / 378 MB, free: 12.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 9.11e-07/0.1269, allocations: 0 / 378 MB, free: 12.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001101/0.128, allocations: 0.5877 MB / 378.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.1281, allocations: 63.28 kB / 378.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1282, allocations: 137.7 kB / 378.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1283, allocations: 25.7 kB / 378.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.1284, allocations: 139.8 kB / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.1284, allocations: 39.45 kB / 379 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.1285, allocations: 29.91 kB / 379 MB, free: 11.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1286, allocations: 326.8 kB / 379.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.1287, allocations: 39.92 kB / 379.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.1288, allocations: 82.84 kB / 379.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.129, allocations: 134.7 kB / 379.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.129, allocations: 4 kB / 379.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002569/0.1293, allocations: 153.4 kB / 379.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1293, allocations: 9.094 kB / 379.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1293, allocations: 0 / 379.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.1294, allocations: 4 kB / 379.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.1296, allocations: 39.92 kB / 379.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.1296, allocations: 11.92 kB / 379.8 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.1297, allocations: 4 kB / 379.8 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1297, allocations: 8.125 kB / 379.8 MB, free: 10.27 MB / 318.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.0001095/0.1298, allocations: 137.7 kB / 380 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1298, allocations: 7.906 kB / 380 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.1299, allocations: 8.375 kB / 380 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1299, allocations: 4 kB / 380 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.1299, allocations: 7.922 kB / 380 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1299, allocations: 0 / 380 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.1304, allocations: 451.9 kB / 380.4 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.1305, allocations: 0 / 380.4 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.1306, allocations: 28.17 kB / 380.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1306, allocations: 4 kB / 380.5 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1307, allocations: 3.938 kB / 380.5 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1307, allocations: 0 / 380.5 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1307, allocations: 7.938 kB / 380.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.131, allocations: 253 kB / 380.7 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.1311, allocations: 85 kB / 380.8 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1311, allocations: 8 kB / 380.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.1312, allocations: 0 / 380.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.1313, allocations: 7.984 kB / 380.8 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.1313, allocations: 4 kB / 380.8 MB, free: 9.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.258e-05/0.1313, allocations: 107.3 kB / 380.9 MB, free: 9.055 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1313, allocations: 0 / 380.9 MB, free: 9.055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1316, allocations: 28 kB / 381 MB, free: 9.027 MB / 318.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.0001279/0.1318, allocations: 91.25 kB / 381 MB, free: 8.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.132, allocations: 95.83 kB / 381.1 MB, free: 8.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.132, allocations: 384 / 381.1 MB, free: 8.836 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.965e-05/0.1321, allocations: 43.92 kB / 381.2 MB, free: 8.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.1324, allocations: 11.94 kB / 381.2 MB, free: 8.781 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007936/0.1332, allocations: 419.7 kB / 381.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.1335, allocations: 0.7158 MB / 382.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.454e-05/0.1336, allocations: 8.875 kB / 382.3 MB, free: 7.582 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.1336, allocations: 19.44 kB / 382.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1336, allocations: 0 / 382.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of Templates: time 0.003725/0.1374, allocations: 0.8752 MB / 383.2 MB, free: 6.688 MB / 318.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)