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.006122/0.006122, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001154/0.001154, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.511/1.511, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001286/0.001286, allocations: 53.08 kB / 326.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1175, allocations: 46.61 MB / 373.1 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003224/0.1208, allocations: 1.979 MB / 375.1 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.1217, allocations: 0.5461 MB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.934e-05/0.1218, allocations: 7.938 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.122, allocations: 15.8 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.1221, allocations: 27.72 kB / 375.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.1223, allocations: 51.88 kB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1225, allocations: 147.4 kB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.1227, allocations: 77.34 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.1229, allocations: 59.8 kB / 376.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.123, allocations: 75.67 kB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.123, allocations: 12 kB / 376.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.64e-05/0.1231, allocations: 16 kB / 376.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.1231, allocations: 27.92 kB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1232, allocations: 71.61 kB / 376.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.1235, allocations: 163.4 kB / 376.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.1235, allocations: 4 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.1235, allocations: 3.984 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1235, 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.0007854/0.1243, allocations: 439.1 kB / 376.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.1244, allocations: 8.031 kB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.1245, allocations: 20.75 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.1248, allocations: 200.1 kB / 377.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.1249, allocations: 12.38 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.1249, allocations: 16.38 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.1252, allocations: 153.6 kB / 377.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1252, allocations: 7.906 kB / 377.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.1253, allocations: 8 kB / 377.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1253, allocations: 3.938 kB / 377.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.1255, allocations: 91.94 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.1263, allocations: 0.525 MB / 377.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1265, allocations: 70.56 kB / 378 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.668e-05/0.1265, allocations: 32.84 kB / 378 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1266, allocations: 0 / 378 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1266, allocations: 38.55 kB / 378 MB, free: 12.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.1266, allocations: 0 / 378 MB, free: 12.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009445/0.1276, allocations: 0.5868 MB / 378.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1276, allocations: 55.34 kB / 378.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1277, allocations: 138.2 kB / 378.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1278, allocations: 25.7 kB / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.1278, allocations: 135.9 kB / 379 MB, free: 11.22 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.1279, allocations: 44.47 kB / 379 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.1279, allocations: 33.7 kB / 379 MB, free: 11.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.128, allocations: 322.8 kB / 379.3 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.1281, allocations: 35.97 kB / 379.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1282, allocations: 86.8 kB / 379.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.1284, allocations: 134.7 kB / 379.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1284, allocations: 0 / 379.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002406/0.1287, allocations: 149.4 kB / 379.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1287, allocations: 9.094 kB / 379.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1287, allocations: 192 / 379.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1287, allocations: 8 kB / 379.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.1289, allocations: 35.98 kB / 379.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.1289, allocations: 15.86 kB / 379.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.129, allocations: 7.938 kB / 379.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.129, allocations: 8 kB / 379.8 MB, free: 10.28 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.0001241/0.1291, allocations: 125.8 kB / 380 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.1292, allocations: 7.906 kB / 380 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.1292, allocations: 12.38 kB / 380 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1292, allocations: 8 kB / 380 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.1292, allocations: 7.922 kB / 380 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1293, allocations: 3.938 kB / 380 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.1298, allocations: 436 kB / 380.4 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1298, allocations: 3.938 kB / 380.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.1299, allocations: 27.98 kB / 380.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1299, allocations: 8.062 kB / 380.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.13, allocations: 0 / 380.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.13, allocations: 4 kB / 380.5 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/0.13, allocations: 4.047 kB / 380.5 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.1303, allocations: 256.9 kB / 380.7 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.1304, allocations: 89.25 kB / 380.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.1304, allocations: 8 kB / 380.8 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.1305, allocations: 3.938 kB / 380.8 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1305, allocations: 7.984 kB / 380.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1305, allocations: 8 kB / 380.8 MB, free: 9.164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.589e-05/0.1306, allocations: 99.34 kB / 380.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1306, allocations: 0 / 380.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1309, allocations: 28 kB / 381 MB, free: 9.039 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.0001175/0.131, allocations: 99.25 kB / 381 MB, free: 8.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.1313, allocations: 91.83 kB / 381.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1313, allocations: 0 / 381.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.964e-05/0.1314, allocations: 39.92 kB / 381.2 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.1317, allocations: 19.86 kB / 381.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009594/0.1327, allocations: 420 kB / 381.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.133, allocations: 0.7158 MB / 382.3 MB, free: 7.602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.288e-05/0.1331, allocations: 8.875 kB / 382.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.1332, allocations: 19.44 kB / 382.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1332, allocations: 0 / 382.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of Templates: time 0.004006/0.1372, allocations: 0.8636 MB / 383.2 MB, free: 6.703 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)