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.001528/0.001528, allocations: 181.6 kB / 13.64 MB, free: 1.676 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.843/1.843, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001717/0.001717, allocations: 124.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.959e-05, allocations: 0 / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08608, allocations: 44.51 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.4266, allocations: 78.97 MB / 428.4 MB, free: 9.988 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.4268, allocations: 77.06 kB / 428.5 MB, free: 9.973 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03874/0.4656, allocations: 14.72 MB / 443.2 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.604e-06/0.4656, allocations: 4 kB / 443.2 MB, free: 3.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.707e-05/0.4657, allocations: 12 kB / 443.2 MB, free: 3.031 MB / 298.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.002234/0.4679, allocations: 1.074 MB / 444.3 MB, free: 1.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.468, allocations: 8.031 kB / 444.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.4682, allocations: 86.97 kB / 444.4 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.4687, allocations: 407.2 kB / 444.8 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/0.4687, allocations: 53 kB / 444.8 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.4689, allocations: 74.59 kB / 444.9 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.47, allocations: 0.7233 MB / 445.6 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.47, allocations: 4 kB / 445.6 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.851e-05/0.4701, allocations: 27.56 kB / 445.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.4701, allocations: 16 kB / 445.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.4712, allocations: 0.7157 MB / 446.4 MB, free: 420 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/0.4755, allocations: 2.443 MB / 448.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.4766, allocations: 0.6207 MB / 449.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000626/0.4772, allocations: 410.5 kB / 449.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.4773, allocations: 16.53 kB / 449.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008575/0.4782, allocations: 0.4954 MB / 450.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 3.386e-06/0.4782, allocations: 7.938 kB / 450.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=109): time 0.006739/0.4849, allocations: 2.942 MB / 453.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.485, allocations: 60.41 kB / 453.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.4854, allocations: 317.4 kB / 453.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.4855, allocations: 55.12 kB / 453.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.4857, allocations: 263.1 kB / 454 MB, free: 10.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/0.486, allocations: 370.5 kB / 454.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.4861, allocations: 22.19 kB / 454.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.4863, allocations: 376.1 kB / 454.8 MB, free: 9.789 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/0.4869, allocations: 356.5 kB / 455.1 MB, free: 9.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.4875, allocations: 461 kB / 455.6 MB, free: 9.277 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.4881, allocations: 298.4 kB / 455.8 MB, free: 9.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4881, allocations: 0 / 455.8 MB, free: 9.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002353/0.4905, allocations: 1.173 MB / 457 MB, free: 8.219 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4905, allocations: 7.938 kB / 457 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.4905, allocations: 4 kB / 457 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.4915, allocations: 0.5487 MB / 457.6 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.4924, allocations: 205.9 kB / 457.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003962/0.4964, allocations: 3.232 MB / 461 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.4976, allocations: 237.1 kB / 461.2 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-05/0.4977, allocations: 46.05 kB / 461.3 MB, free: 4.266 MB / 314.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 () * 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.0002852/0.498, allocations: 163.4 kB / 461.4 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.4982, allocations: 71.16 kB / 461.5 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.5006, allocations: 1.197 MB / 462.7 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.5006, allocations: 12 kB / 462.7 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.5006, allocations: 0 / 462.7 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.5006, allocations: 7.969 kB / 462.7 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004011/0.5046, allocations: 2.352 MB / 465.1 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5047, allocations: 4 kB / 465.1 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007796/0.5055, allocations: 183.5 kB / 465.3 MB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009223/0.5064, allocations: 0.5114 MB / 465.8 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/0.5065, allocations: 39.47 kB / 465.8 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003311/0.5098, allocations: 3.053 MB / 468.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.5098, allocations: 7.984 kB / 468.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.5128, allocations: 1.716 MB / 470.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.5133, allocations: 240.1 kB / 470.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.5134, allocations: 28 kB / 470.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.5147, allocations: 247.8 kB / 471.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009404/0.5157, allocations: 440 kB / 471.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.5158, allocations: 47.95 kB / 471.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002962/0.5161, allocations: 249.2 kB / 471.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5161, allocations: 4 kB / 471.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008577/0.5169, allocations: 247.9 kB / 472.1 MB, free: 10.58 MB / 330.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) * 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.0003441/0.5173, allocations: 172.8 kB / 472.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.5192, allocations: 1.079 MB / 473.3 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5192, allocations: 8.312 kB / 473.3 MB, free: 9.289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.5206, allocations: 0.7188 MB / 474 MB, free: 8.559 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.5213, allocations: 113.2 kB / 474.1 MB, free: 8.449 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.5255, allocations: 1.778 MB / 475.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.5261, allocations: 0.9437 MB / 476.9 MB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004118/0.5265, allocations: 77.36 kB / 476.9 MB, free: 5.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.5267, allocations: 59.42 kB / 477 MB, free: 5.512 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5267, allocations: 0 / 477 MB, free: 5.512 MB / 330.7 MB Notification: Performance of Templates: time 0.02431/0.551, allocations: 14.94 MB / 491.9 MB, free: 6.566 MB / 346.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)