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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.007692/0.007692, allocations: 165.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.529/1.529, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001739/0.001739, allocations: 106.7 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2703, allocations: 38.77 MB / 312.9 MB, free: 38.76 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.4138, allocations: 84.83 MB / 397.7 MB, free: 5.664 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004415/0.4143, allocations: 87.95 kB / 397.8 MB, free: 5.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4802/0.8945, allocations: 107.7 MB / 0.4937 GB, free: 18.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.8946, allocations: 0 / 0.4937 GB, free: 18.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001878/0.8948, allocations: 104 kB / 0.4938 GB, free: 17.94 MB / 314.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.02593/0.9207, allocations: 6.617 MB / 0.5002 GB, free: 11.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.9208, allocations: 12.02 kB / 0.5002 GB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/0.936, allocations: 3.363 MB / 0.5035 GB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/0.9523, allocations: 7.502 MB / 0.5108 GB, free: 300 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004142/0.9528, allocations: 406.7 kB / 0.5112 GB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002575/0.9553, allocations: 0.5426 MB / 0.5118 GB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03926/0.9946, allocations: 16.59 MB / 0.528 GB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002895/0.995, allocations: 75.33 kB / 0.528 GB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001488/0.9965, allocations: 263.9 kB / 0.5283 GB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002599/0.9991, allocations: 1.491 MB / 0.5297 GB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2168/1.216, allocations: 14.47 MB / 0.5439 GB, free: 55.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07658/1.292, allocations: 63.6 MB / 0.606 GB, free: 18.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01697/1.31, allocations: 6.233 MB / 0.6121 GB, free: 16.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02985/1.339, allocations: 13.19 MB / 0.625 GB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/1.34, allocations: 66.03 kB / 0.625 GB, free: 10.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=246): time 6.282e-06/1.34, allocations: 0 / 0.625 GB, free: 10.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=278): time 0.08452/1.424, allocations: 27.33 MB / 0.6517 GB, free: 14.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003879/1.428, allocations: 4.597 MB / 0.6562 GB, free: 9.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/1.439, allocations: 4.336 MB / 0.6604 GB, free: 5.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008259/1.44, allocations: 64.44 kB / 0.6605 GB, free: 5.738 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003602/1.443, allocations: 3.829 MB / 0.6642 GB, free: 2.301 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001727/1.445, allocations: 1.099 MB / 0.6653 GB, free: 1.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006346/1.446, allocations: 159.1 kB / 0.6655 GB, free: 1.176 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004634/1.446, allocations: 0.646 MB / 0.6661 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00742/1.454, allocations: 3.523 MB / 0.6695 GB, free: 13.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01165/1.465, allocations: 7.953 MB / 0.6773 GB, free: 3.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2289/1.694, allocations: 5.009 MB / 0.6822 GB, free: 82.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001818/1.695, allocations: 48.91 kB / 0.6822 GB, free: 82.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.03272/1.727, allocations: 13.16 MB / 0.6951 GB, free: 82.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000154/1.728, allocations: 72.88 kB / 0.6952 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01607/1.744, allocations: 6.286 MB / 0.7013 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008136/1.752, allocations: 2.607 MB / 0.7038 GB, free: 82.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008269/1.76, allocations: 1.972 MB / 0.7058 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009559/1.77, allocations: 11.62 MB / 0.7171 GB, free: 74.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/1.78, allocations: 0.8086 MB / 0.7179 GB, free: 74.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002299/1.782, allocations: 487 kB / 0.7184 GB, free: 74.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 729 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (996): * Single equations (assignments): 975 * 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 {1,1,1} * 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.006379/1.789, allocations: 2.508 MB / 0.7208 GB, free: 73.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.79, allocations: 453.1 kB / 0.7212 GB, free: 73.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.804, allocations: 7.024 MB / 0.7281 GB, free: 72.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01246/1.817, allocations: 6.286 MB / 0.7342 GB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.191e-05/1.817, allocations: 8.656 kB / 0.7343 GB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.65e-05/1.817, allocations: 17.41 kB / 0.7343 GB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03426/1.851, allocations: 15.73 MB / 0.7496 GB, free: 64.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-05/1.851, allocations: 8 kB / 0.7496 GB, free: 64.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002727/1.854, allocations: 0.5196 MB / 0.7501 GB, free: 64.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008225/1.862, allocations: 2.889 MB / 0.753 GB, free: 62.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000743/1.863, allocations: 88.94 kB / 0.7531 GB, free: 62.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/1.875, allocations: 13.97 MB / 0.7667 GB, free: 49.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002111/1.877, allocations: 4.462 MB / 0.771 GB, free: 44.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01886/1.896, allocations: 11.54 MB / 0.7823 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002025/1.898, allocations: 0.5101 MB / 0.7828 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00175/1.9, allocations: 70.56 kB / 0.7829 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003483/1.903, allocations: 357.5 kB / 0.7832 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006608/1.904, allocations: 209.6 kB / 0.7834 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002348/1.904, allocations: 94.19 kB / 0.7835 GB, free: 33.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00623/1.91, allocations: 3.017 MB / 0.7865 GB, free: 30.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.91, allocations: 0 / 0.7865 GB, free: 30.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01019/1.921, allocations: 1.583 MB / 0.788 GB, free: 28.59 MB / 378.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 () * Number of clocked 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.001242/1.922, allocations: 239.1 kB / 0.7882 GB, free: 28.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0172/1.939, allocations: 9.498 MB / 0.7975 GB, free: 18.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.939, allocations: 0 / 0.7975 GB, free: 18.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009234/1.948, allocations: 4.943 MB / 0.8023 GB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004741/1.953, allocations: 0.5158 MB / 0.8028 GB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2463/2.2, allocations: 16.65 MB / 0.8191 GB, free: 89.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00544/2.205, allocations: 4.07 MB / 0.8231 GB, free: 88.64 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.006875/2.212, allocations: 2.405 MB / 0.8254 GB, free: 88.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/2.213, allocations: 330.1 kB / 0.8257 GB, free: 88.58 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/2.213, allocations: 2.781 kB / 0.8257 GB, free: 88.58 MB / 394.7 MB Notification: Performance of Templates: time 0.1007/2.314, allocations: 54.8 MB / 0.8793 GB, free: 79.59 MB / 394.7 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)