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.001698/0.001698, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 197.6 kB / 16.54 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 222.4 MB, free: 4.641 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.00119/0.00119, allocations: 51.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2356, allocations: 46.63 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003091/0.2387, allocations: 1.967 MB / 327.3 MB, free: 328 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.2396, allocations: 0.5391 MB / 327.8 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.2397, allocations: 7.438 kB / 327.8 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.2398, allocations: 26.06 kB / 327.8 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.2399, allocations: 31.14 kB / 327.9 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.2401, allocations: 46.53 kB / 327.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.2404, allocations: 143.7 kB / 328.1 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.2405, allocations: 71.64 kB / 328.1 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.2406, allocations: 60.09 kB / 328.2 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.2408, allocations: 66.23 kB / 328.3 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.2408, allocations: 14.12 kB / 328.3 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.662e-05/0.2408, allocations: 13.62 kB / 328.3 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.2409, allocations: 40.86 kB / 328.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.959e-05/0.241, allocations: 69.83 kB / 328.4 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.2411, allocations: 165.9 kB / 328.6 MB, free: 15.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2411, allocations: 0 / 328.6 MB, free: 15.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2412, allocations: 4 kB / 328.6 MB, free: 15.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2412, allocations: 1.156 kB / 328.6 MB, free: 15.38 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.0005909/0.2418, allocations: 432.5 kB / 329 MB, free: 14.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2418, allocations: 8.906 kB / 329 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.2419, allocations: 16.53 kB / 329 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.2421, allocations: 203 kB / 329.2 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.2421, allocations: 14.19 kB / 329.2 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.2421, allocations: 22.84 kB / 329.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.2424, allocations: 145.5 kB / 329.4 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.2425, allocations: 1.25 kB / 329.4 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.2425, allocations: 9.406 kB / 329.4 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.2425, allocations: 3.5 kB / 329.4 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.2427, allocations: 89.91 kB / 329.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.2435, allocations: 0.5279 MB / 330 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.2437, allocations: 82.94 kB / 330.1 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.029e-05/0.2438, allocations: 39.25 kB / 330.1 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.2438, allocations: 1.156 kB / 330.1 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.2438, allocations: 31.84 kB / 330.2 MB, free: 13.95 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2438, allocations: 3.938 kB / 330.2 MB, free: 13.94 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001004/0.2448, allocations: 0.5908 MB / 330.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2449, allocations: 56.69 kB / 330.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.245, allocations: 140.7 kB / 330.9 MB, free: 13.19 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.245, allocations: 26.98 kB / 331 MB, free: 13.16 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.2451, allocations: 131.7 kB / 331.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.2451, allocations: 35.47 kB / 331.1 MB, free: 13 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.2452, allocations: 33.33 kB / 331.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2453, allocations: 325.8 kB / 331.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.597e-05/0.2454, allocations: 34.08 kB / 331.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.2455, allocations: 81.59 kB / 331.6 MB, free: 12.55 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.2457, allocations: 128 kB / 331.7 MB, free: 12.45 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2457, allocations: 0.5312 kB / 331.7 MB, free: 12.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002728/0.246, allocations: 162.5 kB / 331.9 MB, free: 12.35 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.246, allocations: 6 kB / 331.9 MB, free: 12.35 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.246, allocations: 6.219 kB / 331.9 MB, free: 12.35 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2461, allocations: 6.594 kB / 331.9 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.2462, allocations: 39.86 kB / 331.9 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.2463, allocations: 6.562 kB / 332 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.2463, allocations: 4.594 kB / 332 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.2464, allocations: 9.781 kB / 332 MB, free: 12.32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.2465, allocations: 136.5 kB / 332.1 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.2465, allocations: 8.188 kB / 332.1 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.2465, allocations: 10.56 kB / 332.1 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2466, allocations: 1.156 kB / 332.1 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2466, allocations: 5.406 kB / 332.1 MB, free: 12.17 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2466, allocations: 0 / 332.1 MB, free: 12.17 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005385/0.2471, allocations: 452.6 kB / 332.6 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2471, allocations: 4.969 kB / 332.6 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.2473, allocations: 27.36 kB / 332.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2473, allocations: 2.281 kB / 332.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.2473, allocations: 1.062 kB / 332.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2473, allocations: 1.031 kB / 332.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2473, allocations: 5 kB / 332.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.2476, allocations: 257.2 kB / 332.9 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.2477, allocations: 84.36 kB / 332.9 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.2477, allocations: 5.125 kB / 332.9 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.2478, allocations: 6.297 kB / 333 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.2478, allocations: 8.594 kB / 333 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.2479, allocations: 6.5 kB / 333 MB, free: 11.41 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.541e-05/0.2479, allocations: 104.3 kB / 333.1 MB, free: 11.32 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2479, allocations: 0 / 333.1 MB, free: 11.32 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.2482, allocations: 26.25 kB / 333.1 MB, free: 11.31 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001055/0.2483, allocations: 97.33 kB / 333.2 MB, free: 11.22 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.2485, allocations: 98.91 kB / 333.3 MB, free: 11.18 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2486, allocations: 0 / 333.3 MB, free: 11.18 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.286e-05/0.2486, allocations: 47.53 kB / 333.3 MB, free: 11.15 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.249, allocations: 18.31 kB / 333.3 MB, free: 11.14 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007608/0.2498, allocations: 424.9 kB / 333.8 MB, free: 10.81 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.2501, allocations: 0.7187 MB / 334.5 MB, free: 10.09 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.389e-05/0.2502, allocations: 5.453 kB / 334.5 MB, free: 10.09 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.2502, allocations: 13.84 kB / 334.5 MB, free: 10.08 MB / 270.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2502, allocations: 4 kB / 334.5 MB, free: 10.08 MB / 270.1 MB Notification: Performance of Templates: time 0.003092/0.2533, allocations: 0.8398 MB / 335.3 MB, free: 9.34 MB / 270.1 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)