Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009773/0.0009773, allocations: 102.5 kB / 15.06 MB, free: 1.098 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.0009695/0.0009695, allocations: 173.3 kB / 15.95 MB, free: 212 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.44/1.44, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004905/0.0004907, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2599, allocations: 47.59 MB / 326.4 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.04812/0.3081, allocations: 51.87 MB / 378.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02963/0.3378, allocations: 12.09 MB / 390.4 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009662/0.3475, allocations: 251.4 kB / 390.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008875/0.3564, allocations: 2.535 MB / 393.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0241/0.3805, allocations: 7.356 MB / 400.5 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004477/0.385, allocations: 0.862 MB / 401.4 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00868/0.3937, allocations: 3.452 MB / 404.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/0.4038, allocations: 5.533 MB / 410.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00379/0.4076, allocations: 1.479 MB / 411.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003658/0.4113, allocations: 2.021 MB / 413.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001673/0.413, allocations: 208 kB / 414.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.4165, allocations: 0.9948 MB / 415.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003765/0.4203, allocations: 2.283 MB / 417.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.4228, allocations: 1.139 MB / 418.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009172/0.432, allocations: 7.123 MB / 425.6 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.432, allocations: 0 / 425.6 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.432, allocations: 0 / 425.6 MB, free: 0 / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004017/0.4325, allocations: 7.984 kB / 425.6 MB, free: 15.99 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.01494/0.4474, allocations: 5.824 MB / 431.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4475, allocations: 8.031 kB / 431.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.4612, allocations: 3.166 MB / 434.6 MB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009358/0.4706, allocations: 3.798 MB / 438.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004988/0.4712, allocations: 348.8 kB / 438.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003502/0.4747, allocations: 0.6789 MB / 439.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2371/0.7118, allocations: 17.6 MB / 457.1 MB, free: 106.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003148/0.7122, allocations: 58.19 kB / 457.1 MB, free: 106.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001347/0.7135, allocations: 219.5 kB / 457.3 MB, free: 106.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004935/0.7185, allocations: 2.846 MB / 460.2 MB, free: 106.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0325/0.751, allocations: 15.48 MB / 475.7 MB, free: 99.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06936/0.8204, allocations: 60.43 MB / 0.5235 GB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03704/0.8575, allocations: 14.8 MB / 0.538 GB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02357/0.8811, allocations: 17.6 MB / 0.5552 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.8812, allocations: 64.56 kB / 0.5552 GB, free: 4.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=289): time 5.651e-06/0.8812, allocations: 0 / 0.5552 GB, free: 4.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=321): time 0.1212/1.002, allocations: 44.34 MB / 0.5985 GB, free: 8.105 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003362/1.006, allocations: 4.634 MB / 0.6031 GB, free: 3.008 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2175/1.223, allocations: 5.456 MB / 0.6084 GB, free: 145.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001223/1.225, allocations: 69.86 kB / 0.6085 GB, free: 145.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003552/1.228, allocations: 4.183 MB / 0.6125 GB, free: 143.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002388/1.231, allocations: 1.251 MB / 0.6138 GB, free: 142.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007594/1.231, allocations: 174.5 kB / 0.6139 GB, free: 142.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004429/1.232, allocations: 0.6771 MB / 0.6146 GB, free: 141.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005895/1.238, allocations: 3.964 MB / 0.6185 GB, free: 140.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007588/1.245, allocations: 8.904 MB / 0.6272 GB, free: 132.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007881/1.253, allocations: 5.703 MB / 0.6327 GB, free: 130.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/1.253, allocations: 54.66 kB / 0.6328 GB, free: 130.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=1160) (initialization): time 0.04614/1.3, allocations: 17.65 MB / 0.65 GB, free: 118.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.239e-05/1.3, allocations: 80.94 kB / 0.6501 GB, free: 118.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02787/1.328, allocations: 10.35 MB / 0.6602 GB, free: 108.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02738/1.355, allocations: 6.191 MB / 0.6662 GB, free: 102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007042/1.362, allocations: 2.176 MB / 0.6684 GB, free: 99.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0204/1.383, allocations: 18.61 MB / 0.6865 GB, free: 80.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007983/1.391, allocations: 0.7665 MB / 0.6873 GB, free: 79.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/1.392, allocations: 0.5207 MB / 0.6878 GB, free: 79.17 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.005211/1.397, allocations: 2.736 MB / 0.6905 GB, free: 76.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/1.399, allocations: 489.7 kB / 0.6909 GB, free: 75.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/1.412, allocations: 8.075 MB / 0.6988 GB, free: 67.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01231/1.424, allocations: 7.171 MB / 0.7058 GB, free: 60.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.023e-05/1.424, allocations: 8 kB / 0.7058 GB, free: 60.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-05/1.424, allocations: 19.89 kB / 0.7059 GB, free: 60.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03353/1.458, allocations: 18.34 MB / 0.7238 GB, free: 42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-05/1.458, allocations: 11.94 kB / 0.7238 GB, free: 41.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003481/1.461, allocations: 0.7332 MB / 0.7245 GB, free: 41.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008055/1.469, allocations: 2.913 MB / 0.7273 GB, free: 38.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009238/1.47, allocations: 95.89 kB / 0.7274 GB, free: 38.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/1.482, allocations: 13.96 MB / 0.7411 GB, free: 23.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002064/1.484, allocations: 4.484 MB / 0.7454 GB, free: 18.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/1.503, allocations: 13.35 MB / 0.7585 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/1.505, allocations: 0.5494 MB / 0.759 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001762/1.507, allocations: 78.33 kB / 0.7591 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003924/1.511, allocations: 379.4 kB / 0.7594 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008468/1.512, allocations: 245.4 kB / 0.7597 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/1.512, allocations: 103.9 kB / 0.7598 GB, free: 3.434 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.2066/1.718, allocations: 3.416 MB / 0.7631 GB, free: 127.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.718, allocations: 0 / 0.7631 GB, free: 127.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.009765/1.728, allocations: 1.846 MB / 0.7649 GB, free: 127.4 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.001072/1.729, allocations: 266.6 kB / 0.7652 GB, free: 127.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01818/1.747, allocations: 11.19 MB / 0.7761 GB, free: 124.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.748, allocations: 3.188 kB / 0.7761 GB, free: 124.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009769/1.757, allocations: 5.406 MB / 0.7814 GB, free: 121.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004095/1.761, allocations: 0.5871 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.02808/1.79, allocations: 18.76 MB / 0.8003 GB, free: 110.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004185/1.794, allocations: 4.423 MB / 0.8046 GB, free: 107.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.006376/1.8, allocations: 2.621 MB / 0.8072 GB, free: 105.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/1.802, allocations: 378.6 kB / 0.8075 GB, free: 105.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.352e-06/1.802, allocations: 0 / 0.8075 GB, free: 105.1 MB / 430.1 MB Notification: Performance of Templates: time 0.09998/1.902, allocations: 70.95 MB / 0.8768 GB, free: 34.5 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe 2>&1) Environment - environmentSimulation: