Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001651/0.001651, allocations: 182.2 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.663/1.663, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001573/0.001574, allocations: 116.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.027e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09763, allocations: 44.5 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3234/0.4211, allocations: 90.39 MB / 439.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.4213, allocations: 86.56 kB / 439.9 MB, free: 5.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4961/0.9174, allocations: 108 MB / 0.5351 GB, free: 72.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.9175, allocations: 0 / 0.5351 GB, free: 72.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003884/0.9179, allocations: 104.6 kB / 0.5352 GB, free: 72.93 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1913 * Number of variables: 1913 Notification: Performance of Generate backend data structure: time 0.02853/0.9464, allocations: 6.304 MB / 0.5413 GB, free: 72.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.9465, allocations: 7.875 kB / 0.5413 GB, free: 72.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/0.9634, allocations: 3.406 MB / 0.5446 GB, free: 71.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01953/0.983, allocations: 7.506 MB / 0.552 GB, free: 71.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00046/0.9835, allocations: 413.3 kB / 0.5524 GB, free: 71.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002567/0.9861, allocations: 0.5426 MB / 0.5529 GB, free: 71.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03502/1.021, allocations: 16.38 MB / 0.5689 GB, free: 67.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002306/1.021, allocations: 68.81 kB / 0.569 GB, free: 67.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/1.022, allocations: 265.4 kB / 0.5692 GB, free: 67.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002083/1.025, allocations: 1.493 MB / 0.5707 GB, free: 67.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02953/1.054, allocations: 14.12 MB / 0.5845 GB, free: 67.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06511/1.119, allocations: 63.55 MB / 0.6465 GB, free: 19.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/1.135, allocations: 6.192 MB / 0.6526 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003773/1.139, allocations: 2.958 MB / 0.6555 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01849/1.158, allocations: 13.23 MB / 0.6684 GB, free: 428 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/1.158, allocations: 60.5 kB / 0.6684 GB, free: 360 kB / 394.7 MB Notification: Performance of pre-optimization done (n=246): time 5.55e-06/1.158, allocations: 0 / 0.6684 GB, free: 360 kB / 394.7 MB Notification: Performance of matching and sorting (n=278): time 0.3268/1.484, allocations: 22.12 MB / 0.69 GB, free: 83.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002316/1.487, allocations: 4.568 MB / 0.6945 GB, free: 79.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006874/1.494, allocations: 4.188 MB / 0.6986 GB, free: 78.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008876/1.495, allocations: 70.36 kB / 0.6987 GB, free: 78.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002523/1.497, allocations: 3.834 MB / 0.7024 GB, free: 77.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001545/1.499, allocations: 1.098 MB / 0.7035 GB, free: 76.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/1.499, allocations: 159.9 kB / 0.7036 GB, free: 76.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00044/1.5, allocations: 0.6459 MB / 0.7043 GB, free: 76.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005854/1.505, allocations: 3.244 MB / 0.7074 GB, free: 76.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006306/1.512, allocations: 7.767 MB / 0.715 GB, free: 70.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006348/1.518, allocations: 4.888 MB / 0.7198 GB, free: 70.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-05/1.518, allocations: 51.42 kB / 0.7198 GB, free: 70.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.02273/1.541, allocations: 13.08 MB / 0.7326 GB, free: 69.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.419e-05/1.541, allocations: 72.25 kB / 0.7327 GB, free: 69.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01125/1.552, allocations: 6.421 MB / 0.7389 GB, free: 68.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008139/1.561, allocations: 2.861 MB / 0.7417 GB, free: 67.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006249/1.567, allocations: 1.915 MB / 0.7436 GB, free: 67.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/1.577, allocations: 12.6 MB / 0.7559 GB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008351/1.585, allocations: 0.8156 MB / 0.7567 GB, free: 58.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001608/1.587, allocations: 482 kB / 0.7572 GB, free: 58.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 48 (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],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],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (986): * Single equations (assignments): 965 * 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.001606/1.589, allocations: 0.7034 MB / 0.7579 GB, free: 57.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.59, allocations: 449.3 kB / 0.7583 GB, free: 57.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/1.603, allocations: 6.915 MB / 0.765 GB, free: 55.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01118/1.614, allocations: 6.162 MB / 0.7711 GB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/1.614, allocations: 7.938 kB / 0.7711 GB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-05/1.614, allocations: 11.06 kB / 0.7711 GB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02824/1.642, allocations: 15.67 MB / 0.7864 GB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/1.642, allocations: 4 kB / 0.7864 GB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002514/1.645, allocations: 0.5198 MB / 0.7869 GB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007716/1.653, allocations: 2.879 MB / 0.7897 GB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004597/1.653, allocations: 83.41 kB / 0.7898 GB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/1.664, allocations: 13.72 MB / 0.8032 GB, free: 27.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001951/1.666, allocations: 4.413 MB / 0.8075 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/1.682, allocations: 11.43 MB / 0.8187 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.684, allocations: 0.5069 MB / 0.8192 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009605/1.685, allocations: 71.91 kB / 0.8192 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/1.688, allocations: 351.5 kB / 0.8196 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005976/1.689, allocations: 225.4 kB / 0.8198 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/1.689, allocations: 90.22 kB / 0.8199 GB, free: 10.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004303/1.693, allocations: 2.879 MB / 0.8227 GB, free: 7.191 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.693, allocations: 0 / 0.8227 GB, free: 7.191 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007643/1.701, allocations: 1.595 MB / 0.8242 GB, free: 5.602 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 211 * 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 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,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.0006228/1.701, allocations: 239 kB / 0.8245 GB, free: 5.367 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01643/1.718, allocations: 9.68 MB / 0.8339 GB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/1.718, allocations: 4 kB / 0.8339 GB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2146/1.933, allocations: 4.872 MB / 0.8387 GB, free: 85.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/1.936, allocations: 0.5212 MB / 0.8392 GB, free: 85.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.957, allocations: 12.35 MB / 0.8512 GB, free: 82.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005199/1.962, allocations: 4.072 MB / 0.8552 GB, free: 81.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005921/1.968, allocations: 2.394 MB / 0.8576 GB, free: 81.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.969, allocations: 329.2 kB / 0.8579 GB, free: 81.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/1.969, allocations: 4 kB / 0.8579 GB, free: 81.34 MB / 426.7 MB Notification: Performance of Templates: time 0.08793/2.057, allocations: 56.75 MB / 0.9133 GB, free: 70.09 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe 2>&1)