Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.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.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009478/0.0009478, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.284/1.284, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001743/0.001742, allocations: 99.52 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.969e-05, allocations: 8 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 38.77 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3033/0.4038, allocations: 72.98 MB / 374 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.4041, allocations: 74.89 kB / 374 MB, free: 11.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04505/0.4492, allocations: 14.56 MB / 388.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4492, allocations: 0 / 388.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.208e-05/0.4493, allocations: 12 kB / 388.6 MB, free: 15.02 MB / 282.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.003354/0.4527, allocations: 1.084 MB / 389.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.4527, allocations: 12.03 kB / 389.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.4532, allocations: 95.25 kB / 389.8 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008715/0.4541, allocations: 411.6 kB / 390.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/0.4541, allocations: 20 kB / 390.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.4543, allocations: 47.97 kB / 390.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001546/0.4559, allocations: 0.7166 MB / 391 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.4571, allocations: 0.6524 MB / 391.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.4572, allocations: 15.14 kB / 391.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.4573, allocations: 0 / 391.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.4573, allocations: 16 kB / 391.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004824/0.4621, allocations: 2.315 MB / 394 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.4633, allocations: 0.621 MB / 394.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/0.4638, allocations: 383.8 kB / 395 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/0.4639, allocations: 12.77 kB / 395 MB, free: 9.805 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008209/0.4648, allocations: 471.1 kB / 395.4 MB, free: 9.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=86): time 3.266e-06/0.4648, allocations: 4 kB / 395.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=106): time 0.005951/0.4707, allocations: 2.735 MB / 398.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.4708, allocations: 60.72 kB / 398.2 MB, free: 7.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.4712, allocations: 310.3 kB / 398.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/0.4713, allocations: 41.45 kB / 398.6 MB, free: 6.836 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.4716, allocations: 265.4 kB / 398.9 MB, free: 6.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.4719, allocations: 347.7 kB / 399.2 MB, free: 6.328 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.472, allocations: 0 / 399.2 MB, free: 6.328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.4722, allocations: 369.8 kB / 399.6 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/0.4728, allocations: 362.8 kB / 399.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006535/0.4735, allocations: 445.8 kB / 400.3 MB, free: 5.484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.4741, allocations: 312.7 kB / 400.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.4742, allocations: 0 / 400.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002529/0.4767, allocations: 1.258 MB / 401.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.4767, allocations: 15.94 kB / 401.9 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4768, allocations: 0 / 401.9 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.478, allocations: 0.6586 MB / 402.6 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.4788, allocations: 213.3 kB / 402.8 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.4835, allocations: 3.301 MB / 406.1 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.4848, allocations: 215.9 kB / 406.3 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.4849, allocations: 47.69 kB / 406.3 MB, free: 216 kB / 282.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: supportFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: massWithStopAndFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real 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): 112 * 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 7,1 5,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003117/0.4853, allocations: 143.8 kB / 406.5 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.4854, allocations: 63.25 kB / 406.5 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.4857, allocations: 87.27 kB / 406.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.4857, allocations: 12 kB / 406.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4857, allocations: 0 / 406.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.4858, allocations: 7.969 kB / 406.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/0.4901, allocations: 2.352 MB / 409 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.4901, allocations: 0 / 409 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/0.4909, allocations: 184 kB / 409.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.4919, allocations: 0.631 MB / 409.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.4921, allocations: 19.97 kB / 409.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/0.4956, allocations: 3.095 MB / 412.9 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.4956, allocations: 11.91 kB / 412.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.4987, allocations: 1.799 MB / 414.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.4991, allocations: 232.2 kB / 415 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.4993, allocations: 16 kB / 415 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.5006, allocations: 235.8 kB / 415.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008843/0.5015, allocations: 428.4 kB / 415.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.5017, allocations: 51.95 kB / 415.7 MB, free: 7.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002725/0.502, allocations: 235 kB / 415.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.502, allocations: 0 / 415.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009217/0.5029, allocations: 204 kB / 416.1 MB, free: 6.598 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (89): * Single equations (assignments): 86 * 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.0003656/0.5033, allocations: 160.7 kB / 416.3 MB, free: 6.434 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001918/0.5052, allocations: 1.003 MB / 417.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5052, allocations: 0 / 417.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.5065, allocations: 0.6782 MB / 417.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.5072, allocations: 84.05 kB / 418 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.5118, allocations: 1.712 MB / 419.7 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008931/0.5127, allocations: 0.9478 MB / 420.7 MB, free: 1.906 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004888/0.5132, allocations: 77.34 kB / 420.8 MB, free: 1.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.5135, allocations: 59.41 kB / 420.8 MB, free: 1.77 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5135, allocations: 0 / 420.8 MB, free: 1.77 MB / 298.7 MB Notification: Performance of Templates: time 0.02561/0.5391, allocations: 13.96 MB / 434.8 MB, free: 3.793 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1)