Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001044/0.001044, allocations: 179.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.196/1.196, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001498/0.001498, allocations: 110 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002806, allocations: 12 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07584/0.07614, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2347/0.3109, allocations: 72.82 MB / 427.9 MB, free: 16.69 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.3111, allocations: 71.97 kB / 428 MB, free: 16.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005555/0.3167, allocations: 2.494 MB / 430.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3167, allocations: 0 / 430.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3167, allocations: 0 / 430.4 MB, free: 14.57 MB / 314.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.0003804/0.3171, allocations: 412.1 kB / 430.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3172, allocations: 11.84 kB / 430.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.3172, allocations: 16.84 kB / 430.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.3174, allocations: 205.7 kB / 431.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3174, allocations: 7.188 kB / 431.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.3174, allocations: 19.19 kB / 431.1 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.3177, allocations: 141.8 kB / 431.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.3177, allocations: 3.062 kB / 431.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.3177, allocations: 3.688 kB / 431.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3177, allocations: 4.656 kB / 431.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.3179, allocations: 100.8 kB / 431.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.3185, allocations: 0.5349 MB / 431.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3187, allocations: 79.56 kB / 432 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3187, allocations: 3.703 kB / 432 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.3187, allocations: 34.69 kB / 432 MB, free: 13.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3187, allocations: 2.531 kB / 432 MB, free: 13.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008306/0.3196, allocations: 0.6114 MB / 432.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.3196, allocations: 51.41 kB / 432.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.3197, allocations: 129.3 kB / 432.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.3197, allocations: 25.7 kB / 432.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.3198, allocations: 131 kB / 432.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.3198, allocations: 38.45 kB / 433 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.3198, allocations: 2.875 kB / 433 MB, free: 12.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.3199, allocations: 322 kB / 433.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.3199, allocations: 30.17 kB / 433.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/0.32, allocations: 96.81 kB / 433.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.596e-05/0.3201, allocations: 44.86 kB / 433.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3201, allocations: 2.344 kB / 433.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002042/0.3203, allocations: 163.8 kB / 433.6 MB, free: 11.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3203, allocations: 4 kB / 433.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3203, allocations: 7.75 kB / 433.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3204, allocations: 4 kB / 433.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3205, allocations: 41.5 kB / 433.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3205, allocations: 12.17 kB / 433.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.3206, allocations: 4 kB / 433.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3206, allocations: 7.188 kB / 433.7 MB, free: 11.37 MB / 314.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 6.558e-05/0.3207, allocations: 128 kB / 433.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.3207, allocations: 11.86 kB / 433.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.3207, allocations: 15.62 kB / 433.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3208, allocations: 0 / 433.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3208, allocations: 0 / 433.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3208, allocations: 7.984 kB / 433.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.3212, allocations: 454.3 kB / 434.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3212, allocations: 0 / 434.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.3213, allocations: 27.92 kB / 434.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3213, allocations: 4.062 kB / 434.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3213, allocations: 7.688 kB / 434.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3213, allocations: 0 / 434.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3213, allocations: 0 / 434.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.3216, allocations: 280.9 kB / 434.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.3216, allocations: 88.94 kB / 434.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3217, allocations: 4 kB / 434.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.3217, allocations: 8.656 kB / 434.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.3218, allocations: 7.984 kB / 434.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3218, allocations: 3.953 kB / 434.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.414e-05/0.3218, allocations: 102.3 kB / 434.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3218, allocations: 0 / 434.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.3221, allocations: 27.38 kB / 434.9 MB, free: 10.21 MB / 314.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 8.713e-05/0.3222, allocations: 98.94 kB / 435 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.3224, allocations: 100.6 kB / 435.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3224, allocations: 4 kB / 435.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.83e-05/0.3225, allocations: 38.98 kB / 435.1 MB, free: 9.996 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.3227, allocations: 11.44 kB / 435.1 MB, free: 9.988 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.3233, allocations: 0.5053 MB / 435.6 MB, free: 9.484 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.3234, allocations: 0.7199 MB / 436.3 MB, free: 8.738 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.96e-05/0.3234, allocations: 12.88 kB / 436.3 MB, free: 8.723 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.3235, allocations: 11.44 kB / 436.4 MB, free: 8.715 MB / 314.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3235, allocations: 4 kB / 436.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of Templates: time 0.002392/0.3259, allocations: 0.7906 MB / 437.2 MB, free: 7.957 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1)