Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.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.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009584/0.0009584, allocations: 179.6 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.184/1.184, allocations: 194.5 MB / 211.6 MB, free: 3.035 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.001514/0.001514, allocations: 111.5 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07765/0.07794, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2377/0.3157, allocations: 79.06 MB / 434.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.316, allocations: 68.34 kB / 434.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03629/0.3523, allocations: 14.73 MB / 448.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3523, allocations: 0 / 448.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.3523, allocations: 12 kB / 448.9 MB, free: 13.97 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002516/0.3549, allocations: 1.123 MB / 450.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3549, allocations: 12.03 kB / 450.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.3552, allocations: 87.06 kB / 450.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.3558, allocations: 426.6 kB / 450.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.3559, allocations: 51.25 kB / 450.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.356, allocations: 68.5 kB / 450.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.3575, allocations: 0.7933 MB / 451.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3575, allocations: 7.906 kB / 451.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.3576, allocations: 24 kB / 451.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.3577, allocations: 20 kB / 451.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.3595, allocations: 0.8549 MB / 452.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.3636, allocations: 2.443 MB / 454.8 MB, free: 8.199 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.3649, allocations: 0.7114 MB / 455.5 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.428e-05/0.365, allocations: 9 kB / 455.6 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.3661, allocations: 0.5595 MB / 456.1 MB, free: 6.898 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 3.055e-06/0.3661, allocations: 0 / 456.1 MB, free: 6.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=109): time 0.01032/0.3765, allocations: 4.421 MB / 460.5 MB, free: 2.352 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.3765, allocations: 64.41 kB / 460.6 MB, free: 2.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.3769, allocations: 321 kB / 460.9 MB, free: 1.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.069e-05/0.377, allocations: 57.69 kB / 461 MB, free: 1.895 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.3772, allocations: 257.1 kB / 461.2 MB, free: 1.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.3775, allocations: 374.8 kB / 461.6 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.3775, allocations: 24 kB / 461.6 MB, free: 1.242 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3777, allocations: 374.7 kB / 462 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009006/0.3786, allocations: 426.4 kB / 462.4 MB, free: 464 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009657/0.3796, allocations: 0.5111 MB / 462.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007953/0.3804, allocations: 382.3 kB / 463.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3804, allocations: 0 / 463.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002836/0.3833, allocations: 1.307 MB / 464.6 MB, free: 14.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3833, allocations: 8 kB / 464.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.3833, allocations: 7.984 kB / 464.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.3843, allocations: 0.5538 MB / 465.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/0.3851, allocations: 211.7 kB / 465.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/0.3888, allocations: 3.24 MB / 468.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.3899, allocations: 235.8 kB / 468.8 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.292e-05/0.39, allocations: 36.77 kB / 468.9 MB, free: 9.754 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,$whenCondition1,elastoGap.contact,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,massWithStopAndFriction.free,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 7,1 5,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003619/0.3903, allocations: 225.7 kB / 469.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.3905, allocations: 67.25 kB / 469.1 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.3933, allocations: 1.337 MB / 470.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.3933, allocations: 8 kB / 470.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3933, allocations: 0 / 470.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.3933, allocations: 4.172 kB / 470.5 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004469/0.3978, allocations: 2.511 MB / 473 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3978, allocations: 4 kB / 473 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000743/0.3986, allocations: 183.8 kB / 473.2 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008981/0.3995, allocations: 0.5268 MB / 473.7 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.337e-05/0.3996, allocations: 35.95 kB / 473.8 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.4029, allocations: 3.075 MB / 476.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4029, allocations: 0 / 476.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.4066, allocations: 1.926 MB / 478.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.407, allocations: 224.2 kB / 479 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.4071, allocations: 32 kB / 479 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.4082, allocations: 255.8 kB / 479.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008652/0.4091, allocations: 440 kB / 479.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.4092, allocations: 39.97 kB / 479.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003431/0.4096, allocations: 251.2 kB / 480 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.993e-06/0.4096, allocations: 0 / 480 MB, free: 14.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009461/0.4105, allocations: 255.9 kB / 480.2 MB, free: 13.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper1.s_rel,springDamper1.v_rel) * Number of discrete variables: 17 ($whenCondition1,elastoGap.contact,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,massWithStopAndFriction.free,massWithStopAndFriction.startForward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 9 (massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,brake.mode,brake.startForward,brake.startBackward,supportFriction.mode,supportFriction.startForward,supportFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 6,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003747/0.4109, allocations: 173.8 kB / 480.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.4135, allocations: 1.231 MB / 481.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4136, allocations: 0 / 481.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.4152, allocations: 0.7899 MB / 482.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.4159, allocations: 109 kB / 482.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/0.4204, allocations: 2.403 MB / 484.9 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.421, allocations: 0.9439 MB / 485.9 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003689/0.4214, allocations: 81.36 kB / 485.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.4216, allocations: 55.42 kB / 486 MB, free: 8.062 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4216, allocations: 3.938 kB / 486 MB, free: 8.059 MB / 362.7 MB Notification: Performance of Templates: time 0.02258/0.4442, allocations: 14.94 MB / 0.4892 GB, free: 9.152 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1)