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.001018/0.001018, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009672/0.0009672, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005027/0.0005029, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2738, allocations: 47.59 MB / 326.5 MB, free: 1.652 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.05468/0.3285, allocations: 51.87 MB / 378.3 MB, free: 15.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03009/0.3587, allocations: 12.08 MB / 390.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0126/0.3713, allocations: 255.4 kB / 390.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009599/0.381, allocations: 2.531 MB / 393.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02308/0.4041, allocations: 7.36 MB / 400.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004327/0.4084, allocations: 0.8737 MB / 401.4 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007536/0.416, allocations: 3.445 MB / 404.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01035/0.4264, allocations: 5.529 MB / 410.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004171/0.4306, allocations: 1.479 MB / 411.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004444/0.4351, allocations: 2.021 MB / 413.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001694/0.4368, allocations: 208 kB / 414.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004062/0.4409, allocations: 0.9948 MB / 415.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004457/0.4454, allocations: 2.272 MB / 417.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002857/0.4483, allocations: 1.146 MB / 418.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009774/0.4581, allocations: 7.119 MB / 425.6 MB, free: 180 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4582, allocations: 4 kB / 425.6 MB, free: 176 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4582, allocations: 0 / 425.6 MB, free: 176 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004422/0.4586, allocations: 0 / 425.6 MB, free: 176 kB / 350.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.01628/0.4749, allocations: 5.824 MB / 431.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.475, allocations: 12.03 kB / 431.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.4879, allocations: 3.166 MB / 434.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009789/0.4978, allocations: 3.798 MB / 438.4 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000534/0.4984, allocations: 348.8 kB / 438.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003716/0.5021, allocations: 0.6789 MB / 439.5 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2514/0.7536, allocations: 17.6 MB / 457.1 MB, free: 109.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000351/0.754, allocations: 57.47 kB / 457.1 MB, free: 109.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001542/0.7555, allocations: 219.1 kB / 457.3 MB, free: 109.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005632/0.7612, allocations: 2.846 MB / 460.2 MB, free: 109.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03441/0.7956, allocations: 15.49 MB / 475.7 MB, free: 99.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07339/0.869, allocations: 60.43 MB / 0.5235 GB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03647/0.9056, allocations: 14.8 MB / 0.538 GB, free: 23.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0221/0.9277, allocations: 17.6 MB / 0.5552 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.9278, allocations: 60.56 kB / 0.5552 GB, free: 5.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=289): time 6.983e-06/0.9278, allocations: 0 / 0.5552 GB, free: 5.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=321): time 0.1207/1.048, allocations: 44.35 MB / 0.5985 GB, free: 8.801 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003708/1.052, allocations: 4.63 MB / 0.6031 GB, free: 3.703 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.244/1.296, allocations: 5.453 MB / 0.6084 GB, free: 145.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001145/1.297, allocations: 73.78 kB / 0.6085 GB, free: 145.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003847/1.301, allocations: 4.187 MB / 0.6125 GB, free: 143.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002295/1.304, allocations: 1.244 MB / 0.6138 GB, free: 142.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/1.305, allocations: 174.3 kB / 0.6139 GB, free: 142.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0009898/1.306, allocations: 0.6728 MB / 0.6146 GB, free: 141.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007602/1.314, allocations: 3.969 MB / 0.6185 GB, free: 140.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009379/1.323, allocations: 8.905 MB / 0.6272 GB, free: 132.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009719/1.333, allocations: 5.706 MB / 0.6327 GB, free: 130.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001782/1.333, allocations: 51.34 kB / 0.6328 GB, free: 130.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=1160) (initialization): time 0.04744/1.381, allocations: 17.65 MB / 0.65 GB, free: 119.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002285/1.381, allocations: 80 kB / 0.6501 GB, free: 119.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03058/1.412, allocations: 10.35 MB / 0.6602 GB, free: 109.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0394/1.451, allocations: 6.187 MB / 0.6662 GB, free: 102.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01186/1.463, allocations: 2.183 MB / 0.6684 GB, free: 100.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03287/1.496, allocations: 18.61 MB / 0.6865 GB, free: 81.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01565/1.512, allocations: 0.7697 MB / 0.6873 GB, free: 80.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003076/1.515, allocations: 0.5171 MB / 0.6878 GB, free: 79.98 MB / 430.1 MB 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 (1094): * Single equations (assignments): 1073 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009813/1.525, allocations: 2.738 MB / 0.6905 GB, free: 77.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002751/1.527, allocations: 489 kB / 0.6909 GB, free: 76.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02642/1.554, allocations: 8.079 MB / 0.6988 GB, free: 68.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02266/1.577, allocations: 7.168 MB / 0.7058 GB, free: 61.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.1e-05/1.577, allocations: 12 kB / 0.7058 GB, free: 61.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001236/1.577, allocations: 23.89 kB / 0.7059 GB, free: 61.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05532/1.632, allocations: 18.33 MB / 0.7238 GB, free: 42.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.491e-05/1.632, allocations: 8 kB / 0.7238 GB, free: 42.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00545/1.638, allocations: 0.7377 MB / 0.7245 GB, free: 42.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01316/1.651, allocations: 2.908 MB / 0.7273 GB, free: 39.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001145/1.652, allocations: 95.89 kB / 0.7274 GB, free: 39.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/1.671, allocations: 13.96 MB / 0.7411 GB, free: 24.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003199/1.674, allocations: 4.483 MB / 0.7454 GB, free: 19.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02333/1.697, allocations: 13.36 MB / 0.7585 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/1.699, allocations: 0.5494 MB / 0.759 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001974/1.701, allocations: 75.98 kB / 0.7591 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004466/1.706, allocations: 380.9 kB / 0.7594 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/1.707, allocations: 249.4 kB / 0.7597 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007428/1.708, allocations: 99.95 kB / 0.7598 GB, free: 4.242 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.2181/1.926, allocations: 3.42 MB / 0.7631 GB, free: 127.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.452e-06/1.926, allocations: 0 / 0.7631 GB, free: 127.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.01091/1.937, allocations: 1.846 MB / 0.7649 GB, free: 127.2 MB / 430.1 MB 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 (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001167/1.938, allocations: 256.9 kB / 0.7652 GB, free: 127.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01865/1.957, allocations: 11.19 MB / 0.7761 GB, free: 124 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/1.957, allocations: 5.469 kB / 0.7761 GB, free: 124 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00942/1.966, allocations: 5.406 MB / 0.7814 GB, free: 121.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/1.97, allocations: 0.5889 MB / 0.782 GB, free: 121.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02604/1.996, allocations: 18.76 MB / 0.8003 GB, free: 110.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004169/2, allocations: 4.422 MB / 0.8046 GB, free: 107.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00619/2.007, allocations: 2.629 MB / 0.8072 GB, free: 105.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/2.008, allocations: 377 kB / 0.8075 GB, free: 105.6 MB / 430.1 MB Notification: Performance of SimCode: time 2.044e-06/2.008, allocations: 0 / 0.8075 GB, free: 105.6 MB / 430.1 MB Notification: Performance of Templates: time 0.1074/2.115, allocations: 70.95 MB / 0.8768 GB, free: 35.04 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: