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.000885/0.0008854, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.001349/0.00135, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.553/1.553, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.000459/0.000459, allocations: 8 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2631, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.05631/0.3195, allocations: 59.08 MB / 386.1 MB, free: 8.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02755/0.3471, allocations: 12.11 MB / 398.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01227/0.3594, allocations: 255.4 kB / 398.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.3617, allocations: 0.5557 MB / 399 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007784/0.3695, allocations: 2.238 MB / 401.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002936/0.3725, allocations: 0.9245 MB / 402.2 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.3846, allocations: 8.559 MB / 410.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.3948, allocations: 6.274 MB / 417 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.3986, allocations: 1.673 MB / 418.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004716/0.4033, allocations: 2.845 MB / 421.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001421/0.4048, allocations: 208 kB / 421.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003331/0.4081, allocations: 1.182 MB / 422.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003454/0.4116, allocations: 2.497 MB / 425.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003761/0.4154, allocations: 2.835 MB / 428.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009838/0.4253, allocations: 8.707 MB / 437 MB, free: 4.953 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4253, allocations: 0 / 437 MB, free: 4.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4253, allocations: 0 / 437 MB, free: 4.953 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003155/0.4256, allocations: 0 / 437 MB, free: 4.953 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.01303/0.4387, allocations: 5.676 MB / 442.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4387, allocations: 12.03 kB / 442.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.4498, allocations: 2.664 MB / 445.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006312/0.4561, allocations: 3.34 MB / 448.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.4564, allocations: 356.8 kB / 449 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.458, allocations: 0.6788 MB / 449.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2708/0.7288, allocations: 17.44 MB / 467.1 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000167/0.729, allocations: 52.69 kB / 467.2 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000664/0.7297, allocations: 218.5 kB / 467.4 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004209/0.7339, allocations: 2.844 MB / 470.2 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03428/0.7682, allocations: 15.33 MB / 485.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06935/0.8376, allocations: 58.87 MB / 0.5317 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/0.8562, allocations: 7.153 MB / 0.5387 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005065/0.8614, allocations: 3.242 MB / 0.5418 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02481/0.8862, allocations: 14.47 MB / 0.5559 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.242e-05/0.8863, allocations: 64.56 kB / 0.556 GB, free: 2.688 MB / 430.1 MB Notification: Performance of pre-optimization done (n=289): time 5.921e-06/0.8863, allocations: 4 kB / 0.556 GB, free: 2.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=321): time 0.07766/0.964, allocations: 26.14 MB / 0.5815 GB, free: 8.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003724/0.9677, allocations: 4.587 MB / 0.586 GB, free: 3.289 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009227/0.977, allocations: 5.132 MB / 0.591 GB, free: 14.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009773/0.978, allocations: 80.48 kB / 0.5911 GB, free: 14.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003776/0.9818, allocations: 4.163 MB / 0.5952 GB, free: 9.949 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002766/0.9846, allocations: 1.25 MB / 0.5964 GB, free: 8.711 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/0.9862, allocations: 0.7523 MB / 0.5971 GB, free: 7.949 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.9864, allocations: 313 kB / 0.5974 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00634/0.9927, allocations: 3.648 MB / 0.601 GB, free: 3.984 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.003, allocations: 8.629 MB / 0.6094 GB, free: 8.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2092/1.212, allocations: 13.02 MB / 0.6221 GB, free: 195.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000354/1.213, allocations: 49.25 kB / 0.6222 GB, free: 195.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.04516/1.258, allocations: 17.04 MB / 0.6388 GB, free: 191.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.416e-05/1.258, allocations: 79.72 kB / 0.6389 GB, free: 191.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0293/1.287, allocations: 9.711 MB / 0.6484 GB, free: 188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02939/1.317, allocations: 6.162 MB / 0.6544 GB, free: 182.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006199/1.323, allocations: 2.055 MB / 0.6564 GB, free: 180.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/1.344, allocations: 17.68 MB / 0.6737 GB, free: 162.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008715/1.353, allocations: 0.7196 MB / 0.6744 GB, free: 161.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001554/1.354, allocations: 0.5195 MB / 0.6749 GB, free: 160.9 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.004521/1.359, allocations: 2.738 MB / 0.6776 GB, free: 158.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008353/1.36, allocations: 486 kB / 0.678 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.373, allocations: 7.412 MB / 0.6853 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01191/1.385, allocations: 6.593 MB / 0.6917 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.95e-05/1.385, allocations: 12 kB / 0.6917 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-05/1.385, allocations: 15.45 kB / 0.6917 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03006/1.415, allocations: 17.16 MB / 0.7085 GB, free: 126.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-05/1.415, allocations: 4 kB / 0.7085 GB, free: 126.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002776/1.418, allocations: 0.589 MB / 0.7091 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00799/1.426, allocations: 2.905 MB / 0.7119 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007393/1.427, allocations: 95.94 kB / 0.712 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/1.438, allocations: 13.73 MB / 0.7254 GB, free: 108.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002019/1.44, allocations: 4.449 MB / 0.7297 GB, free: 103.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/1.457, allocations: 11.34 MB / 0.7408 GB, free: 92.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.458, allocations: 0.5377 MB / 0.7413 GB, free: 91.67 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009932/1.459, allocations: 75.98 kB / 0.7414 GB, free: 91.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/1.462, allocations: 334.3 kB / 0.7417 GB, free: 91.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000689/1.463, allocations: 241.4 kB / 0.742 GB, free: 91.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/1.463, allocations: 104 kB / 0.7421 GB, free: 90.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004582/1.468, allocations: 3.17 MB / 0.7452 GB, free: 87.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.468, allocations: 0 / 0.7452 GB, free: 87.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007631/1.475, allocations: 1.795 MB / 0.7469 GB, free: 85.99 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.0008999/1.476, allocations: 246.6 kB / 0.7471 GB, free: 85.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01733/1.494, allocations: 10.68 MB / 0.7576 GB, free: 74.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/1.494, allocations: 4.188 kB / 0.7576 GB, free: 74.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009018/1.503, allocations: 5.117 MB / 0.7626 GB, free: 69.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008837/1.512, allocations: 0.6261 MB / 0.7632 GB, free: 68.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/1.536, allocations: 18.91 MB / 0.7817 GB, free: 49.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004567/1.54, allocations: 4.299 MB / 0.7859 GB, free: 45.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006064/1.546, allocations: 2.56 MB / 0.7884 GB, free: 42.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/1.548, allocations: 375.2 kB / 0.7887 GB, free: 42.59 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/1.548, allocations: 0 / 0.7887 GB, free: 42.59 MB / 494.1 MB Notification: Performance of Templates: time 0.303/1.851, allocations: 69.79 MB / 0.8569 GB, free: 174.5 MB / 494.1 MB 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)