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.7345/0.7345, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001643/0.001643, allocations: 163.3 kB / 144 MB, free: 4.793 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.21e-05, allocations: 7.938 kB / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04774/0.04778, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04703/0.09487, allocations: 33.98 MB / 233 MB, free: 11.67 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.09513, allocations: 63.97 kB / 233.1 MB, free: 11.61 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005691/0.1008, allocations: 2.18 MB / 235.2 MB, free: 9.418 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1009, allocations: 0 / 235.2 MB, free: 9.418 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.1009, allocations: 4 kB / 235.2 MB, free: 9.414 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.0003855/0.1013, allocations: 390.2 kB / 235.6 MB, free: 8.988 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1013, allocations: 8.031 kB / 235.6 MB, free: 8.98 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.1014, allocations: 15.81 kB / 235.6 MB, free: 8.965 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1015, allocations: 194.9 kB / 235.8 MB, free: 8.734 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1016, allocations: 4 kB / 235.8 MB, free: 8.73 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.1016, allocations: 15.89 kB / 235.9 MB, free: 8.715 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001358/0.1017, allocations: 59.98 kB / 235.9 MB, free: 8.656 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1019, allocations: 89.61 kB / 236 MB, free: 8.562 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1019, allocations: 0 / 236 MB, free: 8.562 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.102, allocations: 3.953 kB / 236 MB, free: 8.559 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.102, allocations: 4 kB / 236 MB, free: 8.555 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.1026, allocations: 454.5 kB / 236.5 MB, free: 8.066 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.286e-05/0.1027, allocations: 54.58 kB / 236.5 MB, free: 8.004 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.1028, allocations: 24.84 kB / 236.5 MB, free: 7.977 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1028, allocations: 7.938 kB / 236.5 MB, free: 7.969 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1028, allocations: 38.5 kB / 236.6 MB, free: 7.922 MB / 186.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1028, allocations: 0 / 236.6 MB, free: 7.922 MB / 186.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006442/0.1035, allocations: 0.5012 MB / 237.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.1035, allocations: 59.41 kB / 237.1 MB, free: 7.258 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.1036, allocations: 117.3 kB / 237.3 MB, free: 7.133 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1036, allocations: 29.64 kB / 237.3 MB, free: 7.098 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.1037, allocations: 123.5 kB / 237.4 MB, free: 6.973 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.1037, allocations: 35.55 kB / 237.4 MB, free: 6.938 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.1037, allocations: 0 / 237.4 MB, free: 6.938 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1039, allocations: 318.8 kB / 237.7 MB, free: 6.617 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.1039, allocations: 23.91 kB / 237.8 MB, free: 6.594 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.104, allocations: 83.72 kB / 237.9 MB, free: 6.484 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.787e-05/0.104, allocations: 41.67 kB / 237.9 MB, free: 6.445 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.104, allocations: 0 / 237.9 MB, free: 6.445 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001749/0.1042, allocations: 117.5 kB / 238 MB, free: 6.324 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1043, allocations: 4 kB / 238 MB, free: 6.32 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1043, allocations: 4 kB / 238 MB, free: 6.316 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1043, allocations: 4.047 kB / 238 MB, free: 6.312 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1044, allocations: 47.97 kB / 238.1 MB, free: 6.266 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1045, allocations: 432 / 238.1 MB, free: 6.266 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.1045, allocations: 11.98 kB / 238.1 MB, free: 6.254 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.1046, allocations: 15.98 kB / 238.1 MB, free: 6.238 MB / 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 7.473e-05/0.1046, allocations: 108.9 kB / 238.2 MB, free: 6.125 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.1047, allocations: 7.906 kB / 238.2 MB, free: 6.117 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.1047, allocations: 16.61 kB / 238.2 MB, free: 6.098 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1047, allocations: 3.953 kB / 238.2 MB, free: 6.094 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1047, allocations: 0 / 238.2 MB, free: 6.094 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1047, allocations: 0 / 238.2 MB, free: 6.094 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.1051, allocations: 372.9 kB / 238.6 MB, free: 5.68 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1052, allocations: 4 kB / 238.6 MB, free: 5.676 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1053, allocations: 27.86 kB / 238.6 MB, free: 5.648 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1053, allocations: 7.953 kB / 238.6 MB, free: 5.641 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1053, allocations: 0 / 238.6 MB, free: 5.641 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.1053, allocations: 8.047 kB / 238.6 MB, free: 5.633 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1053, allocations: 4 kB / 238.6 MB, free: 5.629 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1056, allocations: 236.5 kB / 238.9 MB, free: 5.363 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.1057, allocations: 93.03 kB / 239 MB, free: 5.254 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.1057, allocations: 4.062 kB / 239 MB, free: 5.25 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.1058, allocations: 4 kB / 239 MB, free: 5.246 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.1059, allocations: 11.92 kB / 239 MB, free: 5.234 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.1059, allocations: 4 kB / 239 MB, free: 5.23 MB / 186.7 MB Notification: Performance of sorting global known variables: time 5.401e-05/0.1059, allocations: 95.83 kB / 239.1 MB, free: 5.137 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1059, allocations: 0 / 239.1 MB, free: 5.137 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002604/0.1062, allocations: 20 kB / 239.1 MB, free: 5.117 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.0001141/0.1063, allocations: 99.19 kB / 239.2 MB, free: 5.008 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.1065, allocations: 67.92 kB / 239.3 MB, free: 4.941 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1065, allocations: 0 / 239.3 MB, free: 4.941 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 4.325e-05/0.1065, allocations: 27.94 kB / 239.3 MB, free: 4.914 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1067, allocations: 11.95 kB / 239.3 MB, free: 4.902 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.1072, allocations: 283.6 kB / 239.6 MB, free: 4.598 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1075, allocations: 0.7119 MB / 240.3 MB, free: 3.859 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 5.26e-05/0.1075, allocations: 8.562 kB / 240.3 MB, free: 3.852 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.1076, allocations: 15.44 kB / 240.3 MB, free: 3.836 MB / 186.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1076, allocations: 0 / 240.3 MB, free: 3.836 MB / 186.7 MB Notification: Performance of Templates: time 0.002644/0.1102, allocations: 0.716 MB / 241 MB, free: 3.121 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)