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.009485/0.009485, allocations: 100.9 kB / 15.73 MB, free: 6 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.001873/0.001873, allocations: 188.9 kB / 16.67 MB, free: 5.934 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 / 222.5 MB, free: 4.512 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.001221/0.001221, allocations: 58.17 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1172, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01788/0.1351, allocations: 15.2 MB / 388.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.1473, allocations: 4.706 MB / 393.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.1505, allocations: 87.75 kB / 393.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007767/0.1583, allocations: 3.461 MB / 396.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008785/0.1671, allocations: 2.373 MB / 399 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.171, allocations: 1.002 MB / 400 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01062/0.1817, allocations: 6.09 MB / 406.1 MB, free: 264 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00687/0.1886, allocations: 4.613 MB / 410.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/0.1926, allocations: 2.173 MB / 412.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005044/0.1977, allocations: 2.998 MB / 415.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00183/0.1996, allocations: 444 kB / 416.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/0.2038, allocations: 1.346 MB / 417.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004128/0.208, allocations: 2.723 MB / 420.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006513/0.2145, allocations: 3.115 MB / 423.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.228, allocations: 9.445 MB / 432.9 MB, free: 5.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2281, allocations: 4 kB / 433 MB, free: 5.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2281, allocations: 0 / 433 MB, free: 5.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003974/0.2285, allocations: 0 / 433 MB, free: 5.242 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.02319/0.2517, allocations: 7.057 MB / 440 MB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.2518, allocations: 15.97 kB / 440 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/0.2635, allocations: 2.653 MB / 442.7 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007762/0.2713, allocations: 3.407 MB / 446.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004497/0.2718, allocations: 356.8 kB / 446.4 MB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002868/0.2747, allocations: 0.675 MB / 447.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2686/0.5433, allocations: 17.41 MB / 464.5 MB, free: 60.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.5436, allocations: 60.19 kB / 464.6 MB, free: 60.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006765/0.5442, allocations: 218.4 kB / 464.8 MB, free: 60.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004421/0.5487, allocations: 2.845 MB / 467.6 MB, free: 59.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03314/0.5818, allocations: 15.27 MB / 482.9 MB, free: 50.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0746/0.6565, allocations: 58.78 MB / 0.529 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01869/0.6752, allocations: 7.134 MB / 0.536 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00524/0.6805, allocations: 3.252 MB / 0.5391 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02448/0.7051, allocations: 14.49 MB / 0.5533 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.3e-05/0.7052, allocations: 65.91 kB / 0.5533 GB, free: 13.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=289): time 6.783e-06/0.7052, allocations: 0 / 0.5533 GB, free: 13.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=321): time 0.08075/0.786, allocations: 26.42 MB / 0.5791 GB, free: 3.328 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003615/0.7896, allocations: 4.852 MB / 0.5839 GB, free: 13.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009708/0.7993, allocations: 5.152 MB / 0.5889 GB, free: 8.879 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008772/0.8003, allocations: 73.7 kB / 0.589 GB, free: 8.801 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004058/0.8043, allocations: 4.338 MB / 0.5932 GB, free: 4.422 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002319/0.8067, allocations: 1.31 MB / 0.5945 GB, free: 3.102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006535/0.8132, allocations: 1.783 MB / 0.5962 GB, free: 1.305 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8134, allocations: 301.1 kB / 0.5965 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007647/0.8211, allocations: 3.66 MB / 0.6001 GB, free: 13.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01131/0.8324, allocations: 8.628 MB / 0.6085 GB, free: 2.262 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01764/0.8501, allocations: 13.03 MB / 0.6213 GB, free: 2.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001752/0.8503, allocations: 48 kB / 0.6213 GB, free: 2.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.2691/1.119, allocations: 17.05 MB / 0.6379 GB, free: 152.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.12, allocations: 82.56 kB / 0.638 GB, free: 152.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02871/1.148, allocations: 9.705 MB / 0.6475 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02746/1.176, allocations: 6.157 MB / 0.6535 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008018/1.184, allocations: 2.053 MB / 0.6555 GB, free: 147.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02559/1.21, allocations: 19.3 MB / 0.6744 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009192/1.219, allocations: 0.7127 MB / 0.6751 GB, free: 127.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002336/1.221, allocations: 0.5262 MB / 0.6756 GB, free: 127.2 MB / 494.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.008282/1.229, allocations: 2.742 MB / 0.6783 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002284/1.232, allocations: 0.5005 MB / 0.6788 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01658/1.248, allocations: 7.389 MB / 0.686 GB, free: 116.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01374/1.262, allocations: 6.588 MB / 0.6924 GB, free: 110.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.565e-05/1.262, allocations: 8.875 kB / 0.6924 GB, free: 110.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.348e-05/1.262, allocations: 11.95 kB / 0.6924 GB, free: 110.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0378/1.3, allocations: 17.17 MB / 0.7092 GB, free: 93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-05/1.3, allocations: 8 kB / 0.7092 GB, free: 92.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002945/1.303, allocations: 0.5851 MB / 0.7098 GB, free: 92.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008012/1.311, allocations: 2.906 MB / 0.7126 GB, free: 89.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009501/1.312, allocations: 98.8 kB / 0.7127 GB, free: 89.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/1.325, allocations: 14.64 MB / 0.727 GB, free: 74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002368/1.327, allocations: 4.721 MB / 0.7316 GB, free: 68.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/1.348, allocations: 11.37 MB / 0.7427 GB, free: 57.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/1.35, allocations: 0.5608 MB / 0.7433 GB, free: 56.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002211/1.352, allocations: 75.98 kB / 0.7433 GB, free: 56.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00442/1.357, allocations: 326.8 kB / 0.7436 GB, free: 56.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001276/1.358, allocations: 237.5 kB / 0.7439 GB, free: 56.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006999/1.359, allocations: 101.3 kB / 0.744 GB, free: 56.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006296/1.365, allocations: 3.175 MB / 0.7471 GB, free: 52.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/1.365, allocations: 0 / 0.7471 GB, free: 52.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01039/1.375, allocations: 1.792 MB / 0.7488 GB, free: 51.21 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.001322/1.377, allocations: 253 kB / 0.7491 GB, free: 50.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01965/1.396, allocations: 10.78 MB / 0.7596 GB, free: 40 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/1.396, allocations: 0 / 0.7596 GB, free: 40 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009691/1.406, allocations: 5.153 MB / 0.7646 GB, free: 34.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007563/1.414, allocations: 0.652 MB / 0.7652 GB, free: 33.99 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02872/1.442, allocations: 15.69 MB / 0.7806 GB, free: 18.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006603/1.449, allocations: 4.304 MB / 0.7848 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006395/1.455, allocations: 2.552 MB / 0.7873 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/1.457, allocations: 379.3 kB / 0.7876 GB, free: 10.92 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/1.457, allocations: 0 / 0.7876 GB, free: 10.92 MB / 494.1 MB Notification: Performance of Templates: time 0.3232/1.78, allocations: 68.59 MB / 0.8546 GB, free: 137.7 MB / 0.4981 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile (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)