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.0009758/0.000976, allocations: 170.9 kB / 7.644 MB, free: 1.406 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.248/1.248, allocations: 170.7 MB / 178.7 MB, free: 15.66 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.001572/0.001572, allocations: 115.4 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.292e-05, allocations: 0 / 262.2 MB, free: 26.43 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06554/0.06557, allocations: 38.77 MB / 301 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2456/0.3112, allocations: 66.77 MB / 367.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.3115, allocations: 66.47 kB / 367.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006086/0.3176, allocations: 2.482 MB / 370.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3176, allocations: 4 kB / 370.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.3176, allocations: 4 kB / 370.3 MB, free: 15.57 MB / 266.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.0004633/0.3181, allocations: 401 kB / 370.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3182, allocations: 12.03 kB / 370.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.3182, allocations: 19.81 kB / 370.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.3184, allocations: 194.6 kB / 370.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3185, allocations: 4 kB / 370.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.3185, allocations: 19.95 kB / 370.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001638/0.3187, allocations: 73.23 kB / 371 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3189, allocations: 107.2 kB / 371.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.3189, allocations: 7.422 kB / 371.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3189, allocations: 3.938 kB / 371.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.3189, allocations: 4 kB / 371.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007205/0.3196, allocations: 0.4937 MB / 371.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.3198, allocations: 67.25 kB / 371.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.3198, allocations: 32.17 kB / 371.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.3198, allocations: 0 / 371.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3199, allocations: 40.58 kB / 371.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3199, allocations: 0 / 371.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.000732/0.3206, allocations: 0.5175 MB / 372.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.3207, allocations: 57.48 kB / 372.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.974e-05/0.3208, allocations: 115 kB / 372.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3208, allocations: 25.7 kB / 372.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.3209, allocations: 135.1 kB / 372.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.3209, allocations: 39.3 kB / 372.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.3209, allocations: 0 / 372.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.321, allocations: 326.4 kB / 373 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-05/0.3211, allocations: 23.12 kB / 373 MB, free: 12.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.3212, allocations: 79.34 kB / 373.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.3212, allocations: 30.86 kB / 373.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3212, allocations: 4 kB / 373.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00019/0.3214, allocations: 129.5 kB / 373.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3215, allocations: 7.906 kB / 373.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3215, allocations: 7.984 kB / 373.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3215, allocations: 4.094 kB / 373.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.3217, allocations: 43.23 kB / 373.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3217, allocations: 4 kB / 373.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/0.3218, allocations: 12.14 kB / 373.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.3218, allocations: 4 kB / 373.3 MB, free: 12.53 MB / 266.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 () * 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.616e-05/0.3219, allocations: 107.5 kB / 373.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.3219, allocations: 11.91 kB / 373.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.322, allocations: 16.11 kB / 373.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.322, allocations: 0 / 373.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.322, allocations: 4 kB / 373.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.322, allocations: 0 / 373.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.3224, allocations: 393.6 kB / 373.8 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3224, allocations: 4.047 kB / 373.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.3226, allocations: 31.34 kB / 373.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3226, allocations: 0 / 373.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3226, allocations: 7.984 kB / 373.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3226, allocations: 0 / 373.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3226, allocations: 8.016 kB / 373.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3229, allocations: 247 kB / 374.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.3229, allocations: 92.44 kB / 374.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.323, allocations: 4 kB / 374.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.3231, allocations: 16.05 kB / 374.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.3231, allocations: 4 kB / 374.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.3231, allocations: 7.672 kB / 374.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.85e-05/0.3232, allocations: 91.69 kB / 374.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3232, allocations: 0 / 374.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002666/0.3235, allocations: 24 kB / 374.4 MB, free: 11.46 MB / 266.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 (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.000118/0.3236, allocations: 99.17 kB / 374.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.3237, allocations: 73.44 kB / 374.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3237, allocations: 0 / 374.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.727e-05/0.3238, allocations: 33.69 kB / 374.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.324, allocations: 8.453 kB / 374.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.3246, allocations: 300 kB / 374.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.3249, allocations: 0.7235 MB / 375.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.793e-05/0.3249, allocations: 8.891 kB / 375.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.325, allocations: 15.42 kB / 375.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of SimCode: time 2.51e-07/0.325, allocations: 0 / 375.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of Templates: time 0.002805/0.3278, allocations: 0.7487 MB / 376.3 MB, free: 9.441 MB / 266.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)