Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001633/0.001633, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.269/1.269, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.00155/0.001551, allocations: 99.52 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.989e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08091/0.08096, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2879/0.3689, allocations: 66.5 MB / 374.1 MB, free: 9.672 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.3692, allocations: 63.03 kB / 374.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0106/0.3798, allocations: 4.067 MB / 378.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3798, allocations: 0 / 378.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.3799, allocations: 11.98 kB / 378.3 MB, free: 6.23 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005663/0.3804, allocations: 479.1 kB / 378.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3805, allocations: 8.031 kB / 378.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.3805, allocations: 27.72 kB / 378.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.3808, allocations: 233.2 kB / 379 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3808, allocations: 22.31 kB / 379 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.3809, allocations: 22.19 kB / 379 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.3813, allocations: 234.5 kB / 379.3 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.3813, allocations: 7.984 kB / 379.3 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.3813, allocations: 10.88 kB / 379.3 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3813, allocations: 8 kB / 379.3 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.3816, allocations: 155.4 kB / 379.4 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3826, allocations: 0.8014 MB / 380.2 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.3831, allocations: 274.9 kB / 380.5 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.3833, allocations: 136.6 kB / 380.6 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3833, allocations: 4 kB / 380.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.3834, allocations: 46.66 kB / 380.7 MB, free: 3.984 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.482e-06/0.3834, allocations: 0 / 380.7 MB, free: 3.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.002492/0.3859, allocations: 1.877 MB / 382.6 MB, free: 2.066 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.386, allocations: 106.8 kB / 382.7 MB, free: 1.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.3861, allocations: 166.9 kB / 382.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.3862, allocations: 32.39 kB / 382.9 MB, free: 1.754 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.428e-05/0.3863, allocations: 142.8 kB / 383 MB, free: 1.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.3864, allocations: 158.1 kB / 383.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.3864, allocations: 10.56 kB / 383.2 MB, free: 1.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3866, allocations: 343.3 kB / 383.5 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.3868, allocations: 85.25 kB / 383.6 MB, free: 1.102 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.387, allocations: 149.4 kB / 383.7 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.3872, allocations: 114.9 kB / 383.9 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3872, allocations: 0 / 383.9 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004414/0.3876, allocations: 335.4 kB / 384.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3876, allocations: 8 kB / 384.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3877, allocations: 3.984 kB / 384.2 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3877, allocations: 4 kB / 384.2 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.388, allocations: 102.9 kB / 384.3 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.388, allocations: 4 kB / 384.3 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3882, allocations: 11.28 kB / 384.3 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.3882, allocations: 19.19 kB / 384.3 MB, free: 0.5078 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 9.767e-05/0.3883, allocations: 127 kB / 384.5 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.3884, allocations: 27.72 kB / 384.5 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.693e-05/0.3885, allocations: 38.7 kB / 384.5 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3885, allocations: 4.656 kB / 384.5 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3885, allocations: 4 kB / 384.5 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.3885, allocations: 3.984 kB / 384.5 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.3899, allocations: 1.059 MB / 385.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.39, allocations: 4 kB / 385.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.3903, allocations: 83.03 kB / 385.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.3903, allocations: 11.94 kB / 385.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.3904, allocations: 18.58 kB / 385.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.3904, allocations: 7.938 kB / 385.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3904, allocations: 4 kB / 385.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.3912, allocations: 0.8219 MB / 386.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.3913, allocations: 116.5 kB / 386.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.3914, allocations: 15.5 kB / 386.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3916, allocations: 11.94 kB / 386.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3916, allocations: 27.72 kB / 386.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3916, allocations: 19.8 kB / 386.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.3918, allocations: 135.5 kB / 386.9 MB, free: 14.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3918, allocations: 0 / 386.9 MB, free: 14.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.3921, allocations: 71.56 kB / 386.9 MB, free: 14.07 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.0001504/0.3923, allocations: 118.8 kB / 387 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.3927, allocations: 256.3 kB / 387.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3927, allocations: 0 / 387.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.3929, allocations: 138.6 kB / 387.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.3933, allocations: 52.84 kB / 387.5 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.3945, allocations: 0.7914 MB / 388.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.3949, allocations: 0.7764 MB / 389.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.395, allocations: 38.95 kB / 389.1 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.3951, allocations: 31.38 kB / 389.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of SimCode: time 4.6e-07/0.3951, allocations: 0 / 389.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of Templates: time 0.005713/0.4008, allocations: 2.691 MB / 391.8 MB, free: 9.289 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)