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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7928/0.7928, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001887/0.001888, allocations: 147.4 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.28e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04902/0.04906, allocations: 25.17 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0502/0.09933, allocations: 34.63 MB / 240 MB, free: 5.746 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001517/0.09952, allocations: 71.91 kB / 240.1 MB, free: 5.676 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005792/0.1053, allocations: 2.189 MB / 242.3 MB, free: 3.477 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1053, allocations: 0 / 242.3 MB, free: 3.477 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1054, allocations: 4 kB / 242.3 MB, free: 3.473 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004255/0.1058, allocations: 398.1 kB / 242.7 MB, free: 3.039 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1058, allocations: 8.031 kB / 242.7 MB, free: 3.031 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.1059, allocations: 15.81 kB / 242.7 MB, free: 3.016 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.1061, allocations: 190.9 kB / 242.9 MB, free: 2.789 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1061, allocations: 8 kB / 242.9 MB, free: 2.781 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.1062, allocations: 15.91 kB / 242.9 MB, free: 2.766 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.1064, allocations: 117.6 kB / 243 MB, free: 2.645 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1064, allocations: 4 kB / 243 MB, free: 2.641 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.1064, allocations: 4 kB / 243 MB, free: 2.637 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1065, allocations: 11.89 kB / 243 MB, free: 2.625 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.1066, allocations: 71.92 kB / 243.1 MB, free: 2.555 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.1073, allocations: 490 kB / 243.6 MB, free: 2.02 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1074, allocations: 62.56 kB / 243.6 MB, free: 1.949 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.1075, allocations: 16.86 kB / 243.7 MB, free: 1.93 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.1075, allocations: 11.94 kB / 243.7 MB, free: 1.918 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1075, allocations: 38.52 kB / 243.7 MB, free: 1.871 MB / 186.7 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.1075, allocations: 0 / 243.7 MB, free: 1.871 MB / 186.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007932/0.1083, allocations: 0.5244 MB / 244.2 MB, free: 1.254 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1084, allocations: 51.41 kB / 244.3 MB, free: 1.191 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.65e-05/0.1085, allocations: 117.3 kB / 244.4 MB, free: 1.066 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1085, allocations: 29.7 kB / 244.4 MB, free: 1.031 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.1086, allocations: 135.5 kB / 244.6 MB, free: 0.8945 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.1086, allocations: 31.73 kB / 244.6 MB, free: 0.8633 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.1086, allocations: 0 / 244.6 MB, free: 0.8633 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1087, allocations: 322.8 kB / 244.9 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.1088, allocations: 27.91 kB / 244.9 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/0.1089, allocations: 93.17 kB / 245 MB, free: 404 kB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.2e-05/0.109, allocations: 31.98 kB / 245.1 MB, free: 372 kB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.109, allocations: 4 kB / 245.1 MB, free: 368 kB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001987/0.1092, allocations: 145.4 kB / 245.2 MB, free: 216 kB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1092, allocations: 7.953 kB / 245.2 MB, free: 208 kB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1092, allocations: 4 kB / 245.2 MB, free: 204 kB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1092, allocations: 4 kB / 245.2 MB, free: 200 kB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1094, allocations: 35.92 kB / 245.3 MB, free: 164 kB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1094, allocations: 7.984 kB / 245.3 MB, free: 156 kB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/0.1095, allocations: 8 kB / 245.3 MB, free: 148 kB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1095, allocations: 4.188 kB / 245.3 MB, free: 144 kB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 6.891e-05/0.1096, allocations: 120.9 kB / 245.4 MB, free: 16 kB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.1096, allocations: 7.906 kB / 245.4 MB, free: 8 kB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1217/0.2313, allocations: 19.45 kB / 245.4 MB, free: 42.32 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.2313, allocations: 1.062 kB / 245.4 MB, free: 42.32 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2313, allocations: 3.141 kB / 245.4 MB, free: 42.32 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2314, allocations: 0.5938 kB / 245.4 MB, free: 42.32 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008627/0.2322, allocations: 417.6 kB / 245.8 MB, free: 42.01 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.2323, allocations: 0 / 245.8 MB, free: 42.01 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.2326, allocations: 26.69 kB / 245.9 MB, free: 42.01 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.2326, allocations: 1.156 kB / 245.9 MB, free: 42.01 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.2326, allocations: 4.469 kB / 245.9 MB, free: 42.01 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.2327, allocations: 2.25 kB / 245.9 MB, free: 42.01 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.2327, allocations: 0.8125 kB / 245.9 MB, free: 42.01 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.2331, allocations: 251.3 kB / 246.1 MB, free: 41.83 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.2332, allocations: 89.72 kB / 246.2 MB, free: 41.74 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.2333, allocations: 8.094 kB / 246.2 MB, free: 41.74 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.2335, allocations: 5.953 kB / 246.2 MB, free: 41.74 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.2335, allocations: 15.53 kB / 246.2 MB, free: 41.73 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2336, allocations: 5.047 kB / 246.2 MB, free: 41.73 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.825e-05/0.2337, allocations: 103.8 kB / 246.3 MB, free: 41.66 MB / 186.7 MB Notification: Performance of sort global known variables: time 4e-07/0.2337, allocations: 0 / 246.3 MB, free: 41.66 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004894/0.2342, allocations: 23.28 kB / 246.4 MB, free: 41.66 MB / 186.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000145/0.2343, allocations: 98.52 kB / 246.5 MB, free: 41.57 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.2346, allocations: 77.7 kB / 246.5 MB, free: 41.57 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.2347, allocations: 0 / 246.5 MB, free: 41.57 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.2348, allocations: 34.89 kB / 246.6 MB, free: 41.57 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.2351, allocations: 8.328 kB / 246.6 MB, free: 41.57 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008708/0.236, allocations: 289.2 kB / 246.9 MB, free: 41.41 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.2362, allocations: 0.7117 MB / 247.6 MB, free: 40.71 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 8.987e-05/0.2363, allocations: 14 kB / 247.6 MB, free: 40.71 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.2364, allocations: 11.91 kB / 247.6 MB, free: 40.7 MB / 186.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2364, allocations: 1.281 kB / 247.6 MB, free: 40.7 MB / 186.7 MB Notification: Performance of Templates: time 0.005362/0.2418, allocations: 0.7308 MB / 248.3 MB, free: 40.65 MB / 186.7 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)