Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001385/0.001385, allocations: 108.2 kB / 17.06 MB, free: 5.992 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.001613/0.001613, allocations: 196 kB / 18 MB, free: 5.082 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.481/1.481, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001231/0.001232, allocations: 55.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1012, allocations: 46.62 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.2623/0.3635, allocations: 15.2 MB / 389.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.3807, allocations: 4.714 MB / 394.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005173/0.3859, allocations: 87.25 kB / 394.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01267/0.3986, allocations: 3.454 MB / 397.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01311/0.4118, allocations: 2.382 MB / 400.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.4153, allocations: 1.005 MB / 401.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.4275, allocations: 6.084 MB / 407.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009276/0.4368, allocations: 4.608 MB / 412 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005018/0.4419, allocations: 2.171 MB / 414.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006318/0.4482, allocations: 3 MB / 417.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001949/0.4502, allocations: 444 kB / 417.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004357/0.4546, allocations: 1.35 MB / 419 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004157/0.4588, allocations: 2.751 MB / 421.7 MB, free: 180 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005605/0.4644, allocations: 3.118 MB / 424.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01317/0.4776, allocations: 9.4 MB / 434.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4776, allocations: 0 / 434.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4776, allocations: 8 kB / 434.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003714/0.478, allocations: 0 / 434.3 MB, free: 3.598 MB / 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.01613/0.4941, allocations: 6.893 MB / 441.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4942, allocations: 8.031 kB / 441.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.505, allocations: 2.609 MB / 443.8 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008657/0.5137, allocations: 3.406 MB / 447.2 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003356/0.5141, allocations: 348.8 kB / 447.5 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/0.5164, allocations: 0.6788 MB / 448.2 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03585/0.5523, allocations: 17.4 MB / 465.6 MB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.5525, allocations: 59.45 kB / 465.7 MB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001039/0.5535, allocations: 219.8 kB / 465.9 MB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004385/0.5579, allocations: 2.84 MB / 468.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03623/0.5942, allocations: 15.28 MB / 484 MB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08097/0.6752, allocations: 58.67 MB / 0.5299 GB, free: 4.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/0.6934, allocations: 7.136 MB / 0.5369 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004701/0.6981, allocations: 3.251 MB / 0.5401 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2513/0.9494, allocations: 14.45 MB / 0.5542 GB, free: 146.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.9495, allocations: 72.03 kB / 0.5543 GB, free: 146.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=289): time 4.749e-06/0.9495, allocations: 1.062 kB / 0.5543 GB, free: 146.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=321): time 0.07158/1.021, allocations: 26.1 MB / 0.5798 GB, free: 138.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002566/1.024, allocations: 4.853 MB / 0.5845 GB, free: 133.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005906/1.03, allocations: 5.128 MB / 0.5895 GB, free: 131.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007641/1.03, allocations: 76.52 kB / 0.5896 GB, free: 131.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001718/1.032, allocations: 4.163 MB / 0.5936 GB, free: 128.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.033, allocations: 1.251 MB / 0.5949 GB, free: 127.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001875/1.035, allocations: 1.773 MB / 0.5966 GB, free: 126.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.902e-05/1.035, allocations: 301.1 kB / 0.5969 GB, free: 125.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00406/1.039, allocations: 3.663 MB / 0.6005 GB, free: 122.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005916/1.045, allocations: 8.62 MB / 0.6089 GB, free: 111.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/1.057, allocations: 13.04 MB / 0.6216 GB, free: 96.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/1.058, allocations: 51.94 kB / 0.6217 GB, free: 96.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.04155/1.099, allocations: 17.04 MB / 0.6383 GB, free: 78.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.375e-05/1.099, allocations: 80 kB / 0.6384 GB, free: 78.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02771/1.127, allocations: 9.69 MB / 0.6478 GB, free: 69.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02744/1.154, allocations: 6.166 MB / 0.6539 GB, free: 62.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006074/1.161, allocations: 2.055 MB / 0.6559 GB, free: 60.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/1.181, allocations: 19.29 MB / 0.6747 GB, free: 40.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007559/1.188, allocations: 0.706 MB / 0.6754 GB, free: 40 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/1.19, allocations: 0.526 MB / 0.6759 GB, free: 39.48 MB / 478.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 (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.003819/1.193, allocations: 2.747 MB / 0.6786 GB, free: 36.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000787/1.194, allocations: 485.7 kB / 0.6791 GB, free: 36.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.206, allocations: 7.387 MB / 0.6863 GB, free: 28.78 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01228/1.219, allocations: 6.592 MB / 0.6927 GB, free: 22.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-05/1.219, allocations: 12 kB / 0.6927 GB, free: 22.08 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-05/1.219, allocations: 11.95 kB / 0.6927 GB, free: 22.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02967/1.248, allocations: 17.16 MB / 0.7095 GB, free: 4.758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-05/1.249, allocations: 8 kB / 0.7095 GB, free: 4.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002685/1.251, allocations: 0.5851 MB / 0.7101 GB, free: 4.164 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007896/1.259, allocations: 2.912 MB / 0.7129 GB, free: 1.211 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000754/1.26, allocations: 95.88 kB / 0.713 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/1.275, allocations: 14.64 MB / 0.7273 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2559/1.531, allocations: 4.7 MB / 0.7319 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02342/1.554, allocations: 11.34 MB / 0.743 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002226/1.557, allocations: 0.5351 MB / 0.7435 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/1.558, allocations: 83.61 kB / 0.7436 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/1.561, allocations: 314.8 kB / 0.7439 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007383/1.562, allocations: 247.1 kB / 0.7441 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/1.562, allocations: 100.8 kB / 0.7442 GB, free: 140.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005649/1.568, allocations: 3.169 MB / 0.7473 GB, free: 139.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.21e-07/1.568, allocations: 0 / 0.7473 GB, free: 139.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009927/1.578, allocations: 1.792 MB / 0.749 GB, free: 139.1 MB / 494.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 (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.0007945/1.579, allocations: 253.2 kB / 0.7493 GB, free: 139 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02589/1.604, allocations: 10.78 MB / 0.7598 GB, free: 134.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/1.605, allocations: 7.406 kB / 0.7598 GB, free: 134.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01629/1.621, allocations: 5.141 MB / 0.7648 GB, free: 132.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008502/1.629, allocations: 0.6631 MB / 0.7655 GB, free: 132.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04461/1.674, allocations: 15.48 MB / 0.7806 GB, free: 122.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007958/1.682, allocations: 4.296 MB / 0.7848 GB, free: 119.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01019/1.692, allocations: 2.561 MB / 0.7873 GB, free: 118 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001974/1.694, allocations: 377.6 kB / 0.7877 GB, free: 117.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/1.694, allocations: 0 / 0.7877 GB, free: 117.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1058/1.8, allocations: 69.31 MB / 0.8553 GB, free: 48.59 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe 2>&1)