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.007305/0.007305, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001779/0.001779, allocations: 198.3 kB / 16.68 MB, free: 5.973 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.438/1.438, allocations: 205.1 MB / 222.6 MB, free: 4.328 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.001192/0.001192, allocations: 46.66 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.09994, allocations: 46.63 MB / 373.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01608/0.1161, allocations: 15.2 MB / 388.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.1262, allocations: 4.702 MB / 393.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.1289, allocations: 87.75 kB / 393.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006972/0.136, allocations: 3.465 MB / 396.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006803/0.1428, allocations: 2.376 MB / 399 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.1457, allocations: 1.006 MB / 400 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009479/0.1552, allocations: 6.082 MB / 406.1 MB, free: 240 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00747/0.1627, allocations: 4.61 MB / 410.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/0.1678, allocations: 2.173 MB / 412.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004683/0.1725, allocations: 2.998 MB / 415.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001852/0.1744, allocations: 444 kB / 416.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003649/0.178, allocations: 1.354 MB / 417.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003789/0.1818, allocations: 2.727 MB / 420.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006553/0.1884, allocations: 3.118 MB / 423.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.2018, allocations: 9.392 MB / 432.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.2019, allocations: 8 kB / 432.9 MB, free: 5.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2019, allocations: 0 / 432.9 MB, free: 5.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004323/0.2023, allocations: 0 / 432.9 MB, free: 5.262 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.0193/0.2217, allocations: 6.885 MB / 439.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.2217, allocations: 8.031 kB / 439.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.2339, allocations: 2.609 MB / 442.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007886/0.2419, allocations: 3.406 MB / 445.8 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/0.2422, allocations: 348.8 kB / 446.2 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002575/0.2448, allocations: 0.6788 MB / 446.8 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2691/0.5139, allocations: 17.4 MB / 464.2 MB, free: 60.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001887/0.5141, allocations: 69.72 kB / 464.3 MB, free: 60.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007071/0.5148, allocations: 218.4 kB / 464.5 MB, free: 60.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004199/0.519, allocations: 2.851 MB / 467.4 MB, free: 59.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03238/0.5514, allocations: 15.27 MB / 482.6 MB, free: 51.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07016/0.6216, allocations: 58.66 MB / 0.5286 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.019/0.6407, allocations: 7.141 MB / 0.5356 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004977/0.6457, allocations: 3.249 MB / 0.5388 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02625/0.672, allocations: 14.46 MB / 0.5529 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.6721, allocations: 68.5 kB / 0.553 GB, free: 13.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=289): time 6.492e-06/0.6721, allocations: 0 / 0.553 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=321): time 0.07296/0.7451, allocations: 26.11 MB / 0.5784 GB, free: 3.504 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003655/0.7488, allocations: 4.857 MB / 0.5832 GB, free: 14.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007376/0.7562, allocations: 5.129 MB / 0.5882 GB, free: 9.031 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009416/0.7571, allocations: 77.69 kB / 0.5883 GB, free: 8.949 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00344/0.7606, allocations: 4.167 MB / 0.5923 GB, free: 4.723 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001944/0.7626, allocations: 1.245 MB / 0.5936 GB, free: 3.461 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002605/0.7652, allocations: 1.777 MB / 0.5953 GB, free: 1.668 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7653, allocations: 301.1 kB / 0.5956 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005542/0.7708, allocations: 3.652 MB / 0.5992 GB, free: 13.71 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009607/0.7805, allocations: 8.632 MB / 0.6076 GB, free: 2.629 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01893/0.7995, allocations: 13.03 MB / 0.6203 GB, free: 3.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001821/0.7997, allocations: 56 kB / 0.6204 GB, free: 3.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.312/1.112, allocations: 17.03 MB / 0.637 GB, free: 152.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/1.112, allocations: 81.53 kB / 0.6371 GB, free: 152.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02903/1.141, allocations: 9.693 MB / 0.6465 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02906/1.17, allocations: 6.165 MB / 0.6526 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006864/1.177, allocations: 2.049 MB / 0.6546 GB, free: 147.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02224/1.199, allocations: 19.29 MB / 0.6734 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008452/1.208, allocations: 0.7141 MB / 0.6741 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001835/1.209, allocations: 0.5239 MB / 0.6746 GB, free: 127.6 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.006172/1.216, allocations: 2.744 MB / 0.6773 GB, free: 124.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.217, allocations: 485 kB / 0.6777 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/1.23, allocations: 7.386 MB / 0.685 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01171/1.242, allocations: 6.592 MB / 0.6914 GB, free: 110.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.644e-05/1.242, allocations: 8 kB / 0.6914 GB, free: 110.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.538e-05/1.242, allocations: 11.95 kB / 0.6914 GB, free: 110.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02769/1.269, allocations: 17.17 MB / 0.7082 GB, free: 93.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/1.27, allocations: 4 kB / 0.7082 GB, free: 93.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/1.272, allocations: 0.589 MB / 0.7088 GB, free: 92.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00819/1.28, allocations: 2.902 MB / 0.7116 GB, free: 89.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006522/1.281, allocations: 99.92 kB / 0.7117 GB, free: 89.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/1.293, allocations: 14.63 MB / 0.726 GB, free: 74.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002216/1.295, allocations: 4.719 MB / 0.7306 GB, free: 69.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/1.313, allocations: 11.33 MB / 0.7417 GB, free: 57.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/1.314, allocations: 0.5338 MB / 0.7422 GB, free: 57.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/1.316, allocations: 79.98 kB / 0.7423 GB, free: 57.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003235/1.319, allocations: 320.1 kB / 0.7426 GB, free: 56.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006534/1.319, allocations: 241.5 kB / 0.7428 GB, free: 56.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/1.32, allocations: 103.8 kB / 0.7429 GB, free: 56.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004216/1.324, allocations: 3.171 MB / 0.746 GB, free: 53.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.324, allocations: 0 / 0.746 GB, free: 53.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007866/1.332, allocations: 1.795 MB / 0.7477 GB, free: 51.56 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.0007503/1.333, allocations: 249.7 kB / 0.748 GB, free: 51.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01814/1.351, allocations: 10.78 MB / 0.7585 GB, free: 40.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/1.351, allocations: 4 kB / 0.7585 GB, free: 40.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009665/1.36, allocations: 5.148 MB / 0.7635 GB, free: 35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004682/1.365, allocations: 0.6559 MB / 0.7642 GB, free: 34.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/1.395, allocations: 15.47 MB / 0.7793 GB, free: 18.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005386/1.401, allocations: 4.299 MB / 0.7835 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008176/1.409, allocations: 2.552 MB / 0.786 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/1.411, allocations: 383.2 kB / 0.7863 GB, free: 11.49 MB / 494.1 MB Notification: Performance of SimCode: time 1.163e-06/1.411, allocations: 0 / 0.7863 GB, free: 11.49 MB / 494.1 MB Notification: Performance of Templates: time 0.3232/1.734, allocations: 68.57 MB / 0.8533 GB, free: 138.3 MB / 0.4981 GB 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)