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.005675/0.005674, allocations: 103.6 kB / 15.73 MB, free: 6.035 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.001176/0.001176, allocations: 190.5 kB / 16.67 MB, free: 5.969 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.452/1.452, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.001166/0.001166, allocations: 54.52 kB / 326.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09816/0.09934, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01692/0.1163, allocations: 15.2 MB / 388.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.1271, allocations: 4.698 MB / 393.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.1296, allocations: 91.75 kB / 393.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00614/0.1358, allocations: 3.469 MB / 396.6 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00649/0.1423, allocations: 2.447 MB / 399.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.1447, allocations: 1.01 MB / 400.1 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007841/0.1525, allocations: 6.082 MB / 406.2 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005715/0.1583, allocations: 4.613 MB / 410.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.1625, allocations: 2.169 MB / 413 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004905/0.1674, allocations: 2.994 MB / 416 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.1685, allocations: 444 kB / 416.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.1716, allocations: 1.362 MB / 417.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003159/0.1748, allocations: 2.755 MB / 420.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004653/0.1794, allocations: 3.118 MB / 423.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.1924, allocations: 9.389 MB / 433 MB, free: 5.203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1925, allocations: 0 / 433 MB, free: 5.203 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1925, allocations: 0 / 433 MB, free: 5.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003698/0.1929, allocations: 0 / 433 MB, free: 5.203 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.01697/0.2098, allocations: 6.893 MB / 439.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.2099, allocations: 12.03 kB / 439.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.2208, allocations: 2.613 MB / 442.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006611/0.2275, allocations: 3.402 MB / 445.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.2277, allocations: 352.8 kB / 446.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/0.2297, allocations: 0.6749 MB / 447 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2662/0.4959, allocations: 17.4 MB / 464.4 MB, free: 60.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001844/0.4962, allocations: 60.48 kB / 464.4 MB, free: 60.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006533/0.4968, allocations: 225.6 kB / 464.6 MB, free: 60.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004368/0.5012, allocations: 2.838 MB / 467.5 MB, free: 59.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03346/0.5347, allocations: 15.27 MB / 482.7 MB, free: 51.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06904/0.6037, allocations: 58.68 MB / 0.5287 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0189/0.6227, allocations: 7.139 MB / 0.5357 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005343/0.6281, allocations: 3.249 MB / 0.5389 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03068/0.6588, allocations: 14.45 MB / 0.553 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.277e-05/0.6589, allocations: 64.56 kB / 0.5531 GB, free: 13.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=289): time 8.756e-06/0.659, allocations: 0 / 0.5531 GB, free: 13.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=321): time 0.07642/0.7354, allocations: 26.11 MB / 0.5786 GB, free: 3.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003849/0.7393, allocations: 4.852 MB / 0.5833 GB, free: 14.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009818/0.7491, allocations: 5.133 MB / 0.5883 GB, free: 8.941 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008179/0.75, allocations: 80.12 kB / 0.5884 GB, free: 8.859 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0031/0.7531, allocations: 4.163 MB / 0.5924 GB, free: 4.637 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001793/0.7549, allocations: 1.245 MB / 0.5937 GB, free: 3.375 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00289/0.7578, allocations: 1.774 MB / 0.5954 GB, free: 1.586 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.7579, allocations: 309 kB / 0.5957 GB, free: 1.281 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005464/0.7634, allocations: 3.656 MB / 0.5993 GB, free: 13.61 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009031/0.7724, allocations: 8.624 MB / 0.6077 GB, free: 2.543 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01687/0.7893, allocations: 13.04 MB / 0.6204 GB, free: 3.039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001675/0.7896, allocations: 52 kB / 0.6205 GB, free: 2.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.2783/1.068, allocations: 17.03 MB / 0.6371 GB, free: 152.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002253/1.068, allocations: 78.53 kB / 0.6372 GB, free: 152.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03214/1.1, allocations: 9.704 MB / 0.6466 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02928/1.13, allocations: 6.157 MB / 0.6527 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006804/1.136, allocations: 2.048 MB / 0.6547 GB, free: 147 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02447/1.161, allocations: 19.3 MB / 0.6735 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009585/1.171, allocations: 0.7039 MB / 0.6742 GB, free: 128 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002101/1.173, allocations: 0.5195 MB / 0.6747 GB, free: 127.5 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.006329/1.179, allocations: 2.752 MB / 0.6774 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001609/1.181, allocations: 482.2 kB / 0.6779 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/1.196, allocations: 7.382 MB / 0.6851 GB, free: 117.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01226/1.208, allocations: 6.588 MB / 0.6915 GB, free: 110.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-05/1.208, allocations: 8 kB / 0.6915 GB, free: 110.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.867e-05/1.208, allocations: 15.94 kB / 0.6915 GB, free: 110.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03818/1.246, allocations: 17.18 MB / 0.7083 GB, free: 93.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.055e-05/1.247, allocations: 4 kB / 0.7083 GB, free: 93.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/1.25, allocations: 0.589 MB / 0.7089 GB, free: 92.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008299/1.258, allocations: 2.908 MB / 0.7117 GB, free: 89.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008148/1.259, allocations: 93.03 kB / 0.7118 GB, free: 89.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/1.271, allocations: 14.63 MB / 0.7261 GB, free: 74.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002351/1.273, allocations: 4.71 MB / 0.7307 GB, free: 69.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/1.293, allocations: 11.34 MB / 0.7418 GB, free: 57.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/1.295, allocations: 0.5338 MB / 0.7423 GB, free: 57.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001773/1.297, allocations: 87.36 kB / 0.7424 GB, free: 57.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004289/1.301, allocations: 311.5 kB / 0.7427 GB, free: 56.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001409/1.302, allocations: 245.4 kB / 0.7429 GB, free: 56.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007266/1.303, allocations: 103.8 kB / 0.743 GB, free: 56.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006493/1.31, allocations: 3.167 MB / 0.7461 GB, free: 53.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.31, allocations: 4 kB / 0.7461 GB, free: 53.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0105/1.32, allocations: 1.796 MB / 0.7478 GB, free: 51.47 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.001628/1.322, allocations: 251.7 kB / 0.7481 GB, free: 51.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01921/1.341, allocations: 10.77 MB / 0.7586 GB, free: 40.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/1.341, allocations: 4 kB / 0.7586 GB, free: 40.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009367/1.35, allocations: 5.143 MB / 0.7636 GB, free: 34.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005509/1.356, allocations: 0.656 MB / 0.7643 GB, free: 34.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02757/1.384, allocations: 15.47 MB / 0.7794 GB, free: 18.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004085/1.388, allocations: 4.3 MB / 0.7836 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005292/1.393, allocations: 2.564 MB / 0.7861 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.394, allocations: 367.3 kB / 0.7864 GB, free: 11.41 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/1.394, allocations: 0 / 0.7864 GB, free: 11.41 MB / 494.1 MB Notification: Performance of Templates: time 0.3453/1.739, allocations: 68.57 MB / 0.8534 GB, free: 138.2 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)