Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.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.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008535/0.0008536, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006438/0.006438, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.499/1.499, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004284/0.0004285, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.21, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.05672/0.2668, allocations: 59.09 MB / 386.1 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03256/0.2994, allocations: 12.11 MB / 398.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0145/0.3139, allocations: 255.4 kB / 398.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.3166, allocations: 0.5557 MB / 399 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007673/0.3243, allocations: 2.234 MB / 401.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002915/0.3273, allocations: 0.9284 MB / 402.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01189/0.3392, allocations: 8.559 MB / 410.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/0.3498, allocations: 6.278 MB / 417 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004319/0.3542, allocations: 1.669 MB / 418.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005286/0.3595, allocations: 2.846 MB / 421.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.3609, allocations: 208 kB / 421.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.3638, allocations: 1.182 MB / 422.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002852/0.3667, allocations: 2.497 MB / 425.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003999/0.3707, allocations: 2.835 MB / 428.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009652/0.3804, allocations: 8.711 MB / 437 MB, free: 4.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3804, allocations: 0 / 437 MB, free: 4.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3804, allocations: 0 / 437 MB, free: 4.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003271/0.3808, allocations: 0 / 437 MB, free: 4.957 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2151 * Number of variables: 2151 Notification: Performance of Generate backend data structure: time 0.01404/0.3948, allocations: 5.672 MB / 442.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3949, allocations: 8.031 kB / 442.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.4063, allocations: 2.672 MB / 445.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00743/0.4138, allocations: 3.343 MB / 448.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003958/0.4142, allocations: 348.8 kB / 449 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002975/0.4172, allocations: 0.6788 MB / 449.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2812/0.6984, allocations: 17.44 MB / 467.1 MB, free: 31.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005573/0.6991, allocations: 62.22 kB / 467.2 MB, free: 31.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003389/0.7025, allocations: 221.6 kB / 467.4 MB, free: 31.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007017/0.7095, allocations: 2.846 MB / 470.2 MB, free: 31.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05744/0.767, allocations: 15.31 MB / 485.6 MB, free: 31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09772/0.8648, allocations: 58.88 MB / 0.5317 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/0.8832, allocations: 7.144 MB / 0.5386 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005055/0.8883, allocations: 3.245 MB / 0.5418 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02197/0.9103, allocations: 14.47 MB / 0.5559 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.334e-05/0.9105, allocations: 63.44 kB / 0.556 GB, free: 0.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=289): time 6.031e-06/0.9105, allocations: 0 / 0.556 GB, free: 0.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=321): time 0.0989/1.009, allocations: 26.14 MB / 0.5815 GB, free: 6.137 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003969/1.013, allocations: 4.593 MB / 0.586 GB, free: 1.102 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008219/1.022, allocations: 5.125 MB / 0.591 GB, free: 11.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009944/1.023, allocations: 73.7 kB / 0.5911 GB, free: 11.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003793/1.026, allocations: 4.175 MB / 0.5952 GB, free: 7.762 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002251/1.029, allocations: 1.251 MB / 0.5964 GB, free: 6.523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/1.03, allocations: 0.7553 MB / 0.5971 GB, free: 5.762 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/1.031, allocations: 309 kB / 0.5974 GB, free: 5.457 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006818/1.037, allocations: 3.648 MB / 0.601 GB, free: 1.801 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/1.049, allocations: 8.629 MB / 0.6094 GB, free: 6.812 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01971/1.069, allocations: 13.02 MB / 0.6221 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/1.069, allocations: 48 kB / 0.6222 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.2709/1.34, allocations: 17.04 MB / 0.6388 GB, free: 212.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/1.34, allocations: 85.75 kB / 0.6389 GB, free: 212.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03097/1.371, allocations: 9.707 MB / 0.6484 GB, free: 211.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02958/1.401, allocations: 6.158 MB / 0.6544 GB, free: 208.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006689/1.408, allocations: 2.061 MB / 0.6564 GB, free: 208.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/1.429, allocations: 17.69 MB / 0.6737 GB, free: 191.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008986/1.438, allocations: 0.702 MB / 0.6744 GB, free: 191.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/1.439, allocations: 0.5287 MB / 0.6749 GB, free: 190.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 66 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],springDamperSeries.color[3],springDamperSeries.color[2],springDamperSeries.color[1],springDamperSeries.color_b[3],springDamperSeries.color_b[2],springDamperSeries.color_b[1],springDamperSeries.color_a[3],springDamperSeries.color_a[2],springDamperSeries.color_a[1],bar3.color[3],bar3.color[2],bar3.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1106): * Single equations (assignments): 1085 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 3 systems {4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005066/1.445, allocations: 2.741 MB / 0.6776 GB, free: 188.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009142/1.445, allocations: 483.2 kB / 0.678 GB, free: 187.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/1.459, allocations: 7.411 MB / 0.6852 GB, free: 180.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01261/1.472, allocations: 6.6 MB / 0.6917 GB, free: 173.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-05/1.472, allocations: 11.98 kB / 0.6917 GB, free: 173.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001057/1.472, allocations: 11.95 kB / 0.6917 GB, free: 173.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03079/1.503, allocations: 17.16 MB / 0.7085 GB, free: 156.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/1.503, allocations: 4 kB / 0.7085 GB, free: 156.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002764/1.506, allocations: 0.5906 MB / 0.7091 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0081/1.514, allocations: 2.905 MB / 0.7119 GB, free: 153.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006789/1.514, allocations: 100.6 kB / 0.712 GB, free: 153 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/1.526, allocations: 13.72 MB / 0.7254 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002069/1.528, allocations: 4.449 MB / 0.7297 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/1.546, allocations: 11.35 MB / 0.7408 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.547, allocations: 0.5331 MB / 0.7413 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001418/1.549, allocations: 82.94 kB / 0.7414 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003235/1.552, allocations: 331.5 kB / 0.7417 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007357/1.553, allocations: 241.4 kB / 0.742 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002342/1.553, allocations: 103.9 kB / 0.7421 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004756/1.558, allocations: 3.163 MB / 0.7451 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.71e-07/1.558, allocations: 0 / 0.7451 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01024/1.568, allocations: 1.79 MB / 0.7469 GB, free: 116.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 37 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],springDamperSeries.s_damper,body3.frame_a.r_0[1],body3.frame_a.r_0[2],body3.frame_a.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.w_a[1],body3.w_a[2],body3.w_a[3]) * 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 (273): * Single equations (assignments): 258 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 3 systems {4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009708/1.569, allocations: 254.9 kB / 0.7471 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01858/1.587, allocations: 10.69 MB / 0.7576 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.587, allocations: 0 / 0.7576 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.009391/1.597, allocations: 5.117 MB / 0.7626 GB, free: 100 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009552/1.606, allocations: 0.6254 MB / 0.7632 GB, free: 99.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02781/1.634, allocations: 18.91 MB / 0.7817 GB, free: 80.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007165/1.642, allocations: 4.301 MB / 0.7859 GB, free: 76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00725/1.649, allocations: 2.556 MB / 0.7884 GB, free: 73.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/1.65, allocations: 379.3 kB / 0.7887 GB, free: 73.07 MB / 0.4981 GB Notification: Performance of SimCode: time 1.914e-06/1.65, allocations: 0 / 0.7887 GB, free: 73.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.2945/1.945, allocations: 69.77 MB / 0.8569 GB, free: 199.1 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe 2>&1)