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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 101.5 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002388/0.002388, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.1 MB, free: 5.68 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000527/0.0005272, allocations: 12 kB / 278.9 MB, free: 12.88 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2293, allocations: 47.6 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002087/0.2314, allocations: 1.584 MB / 328 MB, free: 148 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00078/0.2322, allocations: 0.5198 MB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.916e-05/0.2323, allocations: 4.719 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.096e-05/0.2324, allocations: 14.56 kB / 328.6 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.2325, allocations: 35.27 kB / 328.6 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.2327, allocations: 33.52 kB / 328.6 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.2329, allocations: 96.56 kB / 328.7 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.233, allocations: 55.33 kB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.2331, allocations: 46.19 kB / 328.8 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.2333, allocations: 61.3 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.2333, allocations: 7.594 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.923e-05/0.2333, allocations: 8.344 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.2334, allocations: 23.88 kB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.2335, allocations: 49.89 kB / 329 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.2337, allocations: 124.1 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2337, allocations: 0 / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2337, allocations: 0 / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.2337, allocations: 0 / 329.1 MB, free: 15.34 MB / 270.1 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.000627/0.2344, allocations: 410 kB / 329.5 MB, free: 14.94 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.2344, allocations: 9.375 kB / 329.5 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.2345, allocations: 18.56 kB / 329.5 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.2348, allocations: 218 kB / 329.7 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2348, allocations: 9.875 kB / 329.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.2348, allocations: 13.91 kB / 329.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.2352, allocations: 141.2 kB / 329.9 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.2352, allocations: 1.469 kB / 329.9 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.2352, allocations: 9.219 kB / 329.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2353, allocations: 4.094 kB / 329.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.2355, allocations: 99.94 kB / 330 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.2364, allocations: 0.527 MB / 330.5 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.2366, allocations: 79.59 kB / 330.6 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.2366, allocations: 1.125 kB / 330.6 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.2366, allocations: 35.83 kB / 330.7 MB, free: 13.95 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.2366, allocations: 3.938 kB / 330.7 MB, free: 13.95 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001062/0.2377, allocations: 0.6044 MB / 331.3 MB, free: 13.39 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.2377, allocations: 57.84 kB / 331.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2379, allocations: 132 kB / 331.5 MB, free: 13.2 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2379, allocations: 26.86 kB / 331.5 MB, free: 13.17 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.238, allocations: 135 kB / 331.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.238, allocations: 41.05 kB / 331.7 MB, free: 13 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.238, allocations: 4 kB / 331.7 MB, free: 13 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2381, allocations: 322.2 kB / 332 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.2383, allocations: 30.45 kB / 332 MB, free: 12.67 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.2384, allocations: 87.22 kB / 332.1 MB, free: 12.58 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.2385, allocations: 44.34 kB / 332.1 MB, free: 12.56 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2385, allocations: 6.25 kB / 332.1 MB, free: 12.56 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002792/0.2388, allocations: 164.3 kB / 332.3 MB, free: 12.46 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.2388, allocations: 10.05 kB / 332.3 MB, free: 12.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2388, allocations: 6.188 kB / 332.3 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2389, allocations: 2.625 kB / 332.3 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.239, allocations: 34.14 kB / 332.3 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.2391, allocations: 10.81 kB / 332.4 MB, free: 12.44 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.2391, allocations: 8.594 kB / 332.4 MB, free: 12.44 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2392, allocations: 5.719 kB / 332.4 MB, free: 12.44 MB / 270.1 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.0001025/0.2393, allocations: 132.7 kB / 332.5 MB, free: 12.3 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.2393, allocations: 8.625 kB / 332.5 MB, free: 12.3 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.2394, allocations: 18.3 kB / 332.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2394, allocations: 1.031 kB / 332.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2394, allocations: 1 kB / 332.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2394, allocations: 0 / 332.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.2399, allocations: 453 kB / 333 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2399, allocations: 0 / 333 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.2401, allocations: 28.7 kB / 333 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.2401, allocations: 2.156 kB / 333 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.2401, allocations: 5.094 kB / 333 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2401, allocations: 2.062 kB / 333 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2401, allocations: 3.984 kB / 333 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.2405, allocations: 277.8 kB / 333.3 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.2406, allocations: 84.95 kB / 333.4 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.2406, allocations: 5.156 kB / 333.4 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.2407, allocations: 19.64 kB / 333.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.2407, allocations: 4.031 kB / 333.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.2407, allocations: 6.094 kB / 333.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.219e-05/0.2408, allocations: 103.1 kB / 333.5 MB, free: 11.4 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2408, allocations: 0 / 333.5 MB, free: 11.4 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.2411, allocations: 26.88 kB / 333.5 MB, free: 11.39 MB / 270.1 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.0001209/0.2412, allocations: 97.34 kB / 333.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.2415, allocations: 91.47 kB / 333.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2415, allocations: 4.938 kB / 333.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.2416, allocations: 41.92 kB / 333.8 MB, free: 11.25 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.2419, allocations: 12.64 kB / 333.8 MB, free: 11.24 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000778/0.2427, allocations: 0.5182 MB / 334.3 MB, free: 10.8 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.243, allocations: 0.7162 MB / 335 MB, free: 10.09 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.31e-05/0.2431, allocations: 18.3 kB / 335 MB, free: 10.07 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.2431, allocations: 13 kB / 335 MB, free: 10.07 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2431, allocations: 1.094 kB / 335 MB, free: 10.07 MB / 270.1 MB Notification: Performance of Templates: time 0.003127/0.2462, allocations: 0.7629 MB / 335.8 MB, free: 9.633 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: