Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005775/0.005775, allocations: 166.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.336/1.336, allocations: 170.8 MB / 186.6 MB, free: 1.051 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001595/0.001596, allocations: 118.2 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003222, allocations: 12 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2022, allocations: 38.76 MB / 312.9 MB, free: 38.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08152/0.2838, allocations: 67.53 MB / 380.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.2841, allocations: 71.97 kB / 380.5 MB, free: 6.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006921/0.291, allocations: 2.514 MB / 383 MB, free: 4.438 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2911, allocations: 0 / 383 MB, free: 4.438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.2911, allocations: 4 kB / 383 MB, free: 4.434 MB / 282.7 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.0005452/0.2916, allocations: 418.8 kB / 383.4 MB, free: 3.977 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2917, allocations: 8.031 kB / 383.4 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.2917, allocations: 15.81 kB / 383.4 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.292, allocations: 207 kB / 383.6 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.292, allocations: 8 kB / 383.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.292, allocations: 23.94 kB / 383.7 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.2923, allocations: 141.8 kB / 383.8 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.2924, allocations: 0 / 383.8 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.2924, allocations: 12 kB / 383.8 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2924, allocations: 0 / 383.8 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.2926, allocations: 103.9 kB / 383.9 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008168/0.2934, allocations: 0.5213 MB / 384.4 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.2936, allocations: 82.48 kB / 384.5 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.2936, allocations: 0 / 384.5 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.2937, allocations: 34.56 kB / 384.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.2937, allocations: 0 / 384.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009873/0.2947, allocations: 0.603 MB / 385.2 MB, free: 2.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.2947, allocations: 59.78 kB / 385.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.2948, allocations: 122.8 kB / 385.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2948, allocations: 25.7 kB / 385.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.2949, allocations: 135.9 kB / 385.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.295, allocations: 39.39 kB / 385.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.295, allocations: 8 kB / 385.5 MB, free: 1.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2951, allocations: 322.8 kB / 385.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.2952, allocations: 35.98 kB / 385.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.2953, allocations: 83.36 kB / 386 MB, free: 1.137 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.312e-05/0.2954, allocations: 55.91 kB / 386 MB, free: 1.082 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2954, allocations: 0 / 386 MB, free: 1.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002553/0.2957, allocations: 161.3 kB / 386.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2957, allocations: 8.188 kB / 386.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2957, allocations: 4 kB / 386.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2957, allocations: 4 kB / 386.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2959, allocations: 35.92 kB / 386.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2959, allocations: 7.953 kB / 386.2 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/0.296, allocations: 7.984 kB / 386.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.296, allocations: 12 kB / 386.3 MB, free: 0.8398 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.2961, allocations: 128.5 kB / 386.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.2962, allocations: 19.91 kB / 386.4 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/0.2962, allocations: 12.72 kB / 386.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2962, allocations: 3.938 kB / 386.4 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2962, allocations: 4 kB / 386.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2963, allocations: 3.953 kB / 386.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.2968, allocations: 448 kB / 386.9 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2968, allocations: 3.984 kB / 386.9 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.2969, allocations: 24 kB / 386.9 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2969, allocations: 8.125 kB / 386.9 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2969, allocations: 0 / 386.9 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.297, allocations: 7.938 kB / 386.9 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.297, allocations: 0 / 386.9 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.2973, allocations: 280.1 kB / 387.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.2974, allocations: 93.03 kB / 387.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.2974, allocations: 4 kB / 387.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.2975, allocations: 4.062 kB / 387.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.2976, allocations: 19.92 kB / 387.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2976, allocations: 0 / 387.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.592e-05/0.2976, allocations: 98.22 kB / 387.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2976, allocations: 0 / 387.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.2979, allocations: 31.98 kB / 387.4 MB, free: 15.56 MB / 298.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 () * 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 (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.0001369/0.2981, allocations: 103.2 kB / 387.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.2983, allocations: 91.84 kB / 387.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2983, allocations: 0 / 387.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/0.2984, allocations: 43.91 kB / 387.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.2986, allocations: 15.95 kB / 387.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.2994, allocations: 0.5079 MB / 388.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.2997, allocations: 0.7199 MB / 388.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.688e-05/0.2997, allocations: 16.86 kB / 388.9 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.2998, allocations: 11.44 kB / 388.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2998, allocations: 0 / 388.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of Templates: time 0.002852/0.3026, allocations: 0.7855 MB / 389.7 MB, free: 13.2 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1)