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.001138/0.001138, allocations: 92.23 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.00117/0.00117, 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.543/1.543, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.0004882/0.0004883, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2435, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.05218/0.2958, allocations: 54.96 MB / 381.4 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03117/0.327, allocations: 11.57 MB / 393 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01334/0.3404, allocations: 251.4 kB / 393.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009205/0.3496, allocations: 2.822 MB / 396.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02344/0.3731, allocations: 8.408 MB / 404.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.3775, allocations: 0.8777 MB / 405.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.3882, allocations: 6.85 MB / 412.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01099/0.3993, allocations: 5.575 MB / 417.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/0.404, allocations: 1.806 MB / 419.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004908/0.4089, allocations: 2.819 MB / 422.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001495/0.4104, allocations: 208 kB / 422.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003154/0.4136, allocations: 1.03 MB / 423.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003586/0.4172, allocations: 2.435 MB / 426.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002506/0.4198, allocations: 1.142 MB / 427.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008322/0.4281, allocations: 7.1 MB / 434.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4281, allocations: 0 / 434.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4282, allocations: 0 / 434.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003536/0.4285, allocations: 0 / 434.3 MB, free: 7.293 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.01261/0.4411, allocations: 5.746 MB / 440.1 MB, free: 1.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.4412, allocations: 12.03 kB / 440.1 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.4513, allocations: 2.671 MB / 442.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006868/0.4582, allocations: 3.274 MB / 446 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/0.4586, allocations: 352.7 kB / 446.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/0.461, allocations: 0.675 MB / 447 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2245/0.6855, allocations: 17.42 MB / 464.5 MB, free: 107.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002048/0.6858, allocations: 59.11 kB / 464.5 MB, free: 107.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007674/0.6865, allocations: 222.3 kB / 464.7 MB, free: 107.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003642/0.6902, allocations: 2.841 MB / 467.6 MB, free: 106.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02738/0.7176, allocations: 15.27 MB / 482.8 MB, free: 95.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06014/0.7777, allocations: 58.85 MB / 0.529 GB, free: 35.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/0.7923, allocations: 7.122 MB / 0.5359 GB, free: 28.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003895/0.7963, allocations: 3.234 MB / 0.5391 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01754/0.8138, allocations: 14.48 MB / 0.5532 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.8139, allocations: 56.56 kB / 0.5533 GB, free: 10.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=289): time 5.02e-06/0.8139, allocations: 4 kB / 0.5533 GB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=321): time 0.06482/0.8787, allocations: 26.11 MB / 0.5788 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003349/0.8821, allocations: 4.591 MB / 0.5833 GB, free: 10.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007531/0.8897, allocations: 5.094 MB / 0.5883 GB, free: 5.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006813/0.8904, allocations: 71.73 kB / 0.5883 GB, free: 5.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002883/0.8933, allocations: 4.181 MB / 0.5924 GB, free: 1.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001607/0.8949, allocations: 1.242 MB / 0.5936 GB, free: 28 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005614/0.8955, allocations: 180.1 kB / 0.5938 GB, free: 15.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004757/0.8959, allocations: 0.6823 MB / 0.5945 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005954/0.9019, allocations: 3.617 MB / 0.598 GB, free: 11.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009779/0.9117, allocations: 8.589 MB / 0.6064 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2158/1.128, allocations: 5.368 MB / 0.6116 GB, free: 138 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/1.128, allocations: 50.5 kB / 0.6117 GB, free: 138 MB / 430.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.03876/1.166, allocations: 16.97 MB / 0.6282 GB, free: 133.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.226e-05/1.167, allocations: 78.16 kB / 0.6283 GB, free: 133.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02546/1.192, allocations: 9.686 MB / 0.6378 GB, free: 126.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02478/1.217, allocations: 6.181 MB / 0.6438 GB, free: 120.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006548/1.223, allocations: 2.051 MB / 0.6458 GB, free: 118.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/1.244, allocations: 17.65 MB / 0.663 GB, free: 100.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008231/1.252, allocations: 0.7101 MB / 0.6637 GB, free: 99.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001982/1.254, allocations: 0.5208 MB / 0.6643 GB, free: 98.84 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.006069/1.26, allocations: 2.744 MB / 0.6669 GB, free: 96.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001442/1.261, allocations: 483.8 kB / 0.6674 GB, free: 95.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/1.275, allocations: 7.397 MB / 0.6746 GB, free: 88.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01219/1.287, allocations: 6.577 MB / 0.681 GB, free: 81.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.236e-05/1.287, allocations: 8 kB / 0.681 GB, free: 81.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.463e-05/1.287, allocations: 11.95 kB / 0.6811 GB, free: 81.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03214/1.32, allocations: 17.16 MB / 0.6978 GB, free: 64.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.362e-05/1.32, allocations: 11.98 kB / 0.6978 GB, free: 64.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002752/1.322, allocations: 0.5824 MB / 0.6984 GB, free: 63.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00705/1.33, allocations: 2.908 MB / 0.7012 GB, free: 61.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006573/1.33, allocations: 100.8 kB / 0.7013 GB, free: 60.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/1.341, allocations: 13.73 MB / 0.7147 GB, free: 46.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002134/1.343, allocations: 4.428 MB / 0.7191 GB, free: 41.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/1.36, allocations: 11.32 MB / 0.7301 GB, free: 30.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/1.362, allocations: 0.5377 MB / 0.7306 GB, free: 29.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009382/1.363, allocations: 75.98 kB / 0.7307 GB, free: 29.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002522/1.365, allocations: 333.5 kB / 0.731 GB, free: 29.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004922/1.366, allocations: 242.3 kB / 0.7313 GB, free: 29.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/1.366, allocations: 99.95 kB / 0.7314 GB, free: 28.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004363/1.37, allocations: 3.139 MB / 0.7344 GB, free: 25.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.37, allocations: 0 / 0.7344 GB, free: 25.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008344/1.379, allocations: 1.793 MB / 0.7362 GB, free: 24.02 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.0007749/1.38, allocations: 249.9 kB / 0.7364 GB, free: 23.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01716/1.397, allocations: 10.65 MB / 0.7468 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.629e-05/1.397, allocations: 5.5 kB / 0.7468 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008463/1.405, allocations: 5.104 MB / 0.7518 GB, free: 7.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/1.41, allocations: 0.6289 MB / 0.7524 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2091/1.619, allocations: 18.25 MB / 0.7702 GB, free: 145.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005524/1.625, allocations: 4.3 MB / 0.7744 GB, free: 144.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006521/1.631, allocations: 2.567 MB / 0.7769 GB, free: 144.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.632, allocations: 375.2 kB / 0.7773 GB, free: 144.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/1.632, allocations: 0 / 0.7773 GB, free: 144.4 MB / 446.1 MB Notification: Performance of Templates: time 0.09518/1.728, allocations: 68.27 MB / 0.844 GB, free: 88.17 MB / 446.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)