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.0009875/0.0009917, allocations: 91.84 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.00129/0.00129, allocations: 172.7 kB / 15.95 MB, free: 208 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.523/1.523, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.0004943/0.0004943, allocations: 8 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2367, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.05289/0.2897, allocations: 54.96 MB / 381.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02601/0.3157, allocations: 11.56 MB / 393 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01093/0.3267, allocations: 255.4 kB / 393.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.3378, allocations: 2.815 MB / 396.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02333/0.3611, allocations: 8.412 MB / 404.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004151/0.3653, allocations: 0.8815 MB / 405.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.3757, allocations: 6.854 MB / 412.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008961/0.3847, allocations: 5.572 MB / 417.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.3881, allocations: 1.814 MB / 419.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004155/0.3923, allocations: 2.808 MB / 422.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.3935, allocations: 208 kB / 422.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.3964, allocations: 1.034 MB / 423.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003279/0.3997, allocations: 2.439 MB / 426.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002072/0.4017, allocations: 1.142 MB / 427.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008706/0.4105, allocations: 7.096 MB / 434.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4105, allocations: 0 / 434.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4105, allocations: 0 / 434.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000343/0.4109, allocations: 0 / 434.3 MB, free: 7.324 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.01444/0.4253, allocations: 5.754 MB / 440.1 MB, free: 1.492 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4254, allocations: 12.03 kB / 440.1 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.4362, allocations: 2.663 MB / 442.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007966/0.4442, allocations: 3.278 MB / 446 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004453/0.4447, allocations: 360.8 kB / 446.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002931/0.4477, allocations: 0.675 MB / 447.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2354/0.6831, allocations: 17.41 MB / 464.5 MB, free: 107.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00021/0.6833, allocations: 58.75 kB / 464.5 MB, free: 107.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007881/0.6841, allocations: 221.7 kB / 464.7 MB, free: 107.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003783/0.6879, allocations: 2.848 MB / 467.6 MB, free: 106.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03028/0.7182, allocations: 15.26 MB / 482.8 MB, free: 95.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06425/0.7825, allocations: 58.84 MB / 0.529 GB, free: 35.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01516/0.7977, allocations: 7.123 MB / 0.5359 GB, free: 28.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003728/0.8015, allocations: 3.23 MB / 0.5391 GB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01747/0.819, allocations: 14.48 MB / 0.5532 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.819, allocations: 64.56 kB / 0.5533 GB, free: 10.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=289): time 4.839e-06/0.819, allocations: 4 kB / 0.5533 GB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=321): time 0.0635/0.8825, allocations: 26.1 MB / 0.5788 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003385/0.886, allocations: 4.594 MB / 0.5833 GB, free: 10.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007219/0.8932, allocations: 5.098 MB / 0.5883 GB, free: 5.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007358/0.894, allocations: 67.89 kB / 0.5883 GB, free: 5.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002891/0.8969, allocations: 4.182 MB / 0.5924 GB, free: 1.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001568/0.8984, allocations: 1.245 MB / 0.5936 GB, free: 52 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004656/0.8989, allocations: 176.1 kB / 0.5938 GB, free: 15.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004525/0.8994, allocations: 0.6862 MB / 0.5945 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00551/0.9049, allocations: 3.613 MB / 0.598 GB, free: 11.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01114/0.916, allocations: 8.589 MB / 0.6064 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1864/1.102, allocations: 5.372 MB / 0.6116 GB, free: 137.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/1.103, allocations: 50.47 kB / 0.6117 GB, free: 137.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.03659/1.139, allocations: 16.97 MB / 0.6282 GB, free: 133.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.832e-05/1.139, allocations: 81.16 kB / 0.6283 GB, free: 133.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02414/1.163, allocations: 9.678 MB / 0.6378 GB, free: 126.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02347/1.187, allocations: 6.193 MB / 0.6438 GB, free: 120.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006079/1.193, allocations: 2.051 MB / 0.6458 GB, free: 118.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/1.212, allocations: 17.63 MB / 0.663 GB, free: 100.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006952/1.219, allocations: 0.7115 MB / 0.6637 GB, free: 99.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/1.22, allocations: 0.5234 MB / 0.6643 GB, free: 98.87 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 (1106): * Single equations (assignments): 1085 * 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.005111/1.225, allocations: 2.753 MB / 0.6669 GB, free: 96.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/1.227, allocations: 483.8 kB / 0.6674 GB, free: 95.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.239, allocations: 7.394 MB / 0.6746 GB, free: 88.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01059/1.25, allocations: 6.581 MB / 0.681 GB, free: 81.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-05/1.25, allocations: 4 kB / 0.6811 GB, free: 81.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.87e-05/1.25, allocations: 19.94 kB / 0.6811 GB, free: 81.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02734/1.277, allocations: 17.16 MB / 0.6978 GB, free: 64.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.111e-05/1.277, allocations: 4.875 kB / 0.6978 GB, free: 64.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/1.279, allocations: 0.5851 MB / 0.6984 GB, free: 63.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006984/1.286, allocations: 2.912 MB / 0.7012 GB, free: 61.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003948/1.287, allocations: 98.86 kB / 0.7013 GB, free: 60.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/1.298, allocations: 13.71 MB / 0.7147 GB, free: 46.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00214/1.3, allocations: 4.438 MB / 0.7191 GB, free: 41.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/1.317, allocations: 11.32 MB / 0.7301 GB, free: 30.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/1.319, allocations: 0.5338 MB / 0.7306 GB, free: 29.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.32, allocations: 86.16 kB / 0.7307 GB, free: 29.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00327/1.324, allocations: 328.2 kB / 0.731 GB, free: 29.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006955/1.324, allocations: 241.5 kB / 0.7313 GB, free: 29.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003399/1.325, allocations: 105.2 kB / 0.7314 GB, free: 28.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005092/1.33, allocations: 3.132 MB / 0.7344 GB, free: 25.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.33, allocations: 0 / 0.7344 GB, free: 25.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008193/1.338, allocations: 1.793 MB / 0.7362 GB, free: 24.04 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.0008741/1.339, allocations: 250.8 kB / 0.7364 GB, free: 23.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01794/1.357, allocations: 10.65 MB / 0.7468 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.357, allocations: 0 / 0.7468 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008641/1.365, allocations: 5.104 MB / 0.7518 GB, free: 7.641 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004981/1.37, allocations: 0.6299 MB / 0.7524 GB, free: 7.016 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.213/1.584, allocations: 18.25 MB / 0.7702 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004817/1.588, allocations: 4.299 MB / 0.7744 GB, free: 144.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006002/1.594, allocations: 2.561 MB / 0.7769 GB, free: 144.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.596, allocations: 372.9 kB / 0.7773 GB, free: 144.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/1.596, allocations: 0 / 0.7773 GB, free: 144.3 MB / 446.1 MB Notification: Performance of Templates: time 0.09269/1.688, allocations: 68.27 MB / 0.844 GB, free: 88.14 MB / 446.1 MB 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)