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.001494/0.001495, allocations: 169.5 kB / 12.72 MB, free: 2.594 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.439/1.439, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001628/0.001628, allocations: 114.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.24e-05/2.249e-05, allocations: 7.984 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06894/0.06898, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2869/0.3559, allocations: 84.74 MB / 392.4 MB, free: 7.75 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.3562, allocations: 83.52 kB / 392.5 MB, free: 7.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4354/0.7916, allocations: 107.8 MB / 0.4885 GB, free: 72.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.7917, allocations: 0 / 0.4885 GB, free: 72.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002682/0.792, allocations: 107 kB / 0.4886 GB, free: 72.01 MB / 346.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.02752/0.8195, allocations: 6.306 MB / 0.4948 GB, free: 69.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.8195, allocations: 7.188 kB / 0.4948 GB, free: 69.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01635/0.8359, allocations: 3.37 MB / 0.4981 GB, free: 69.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01679/0.8527, allocations: 7.479 MB / 0.5054 GB, free: 68.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004385/0.8532, allocations: 411.3 kB / 0.5058 GB, free: 68.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002648/0.8559, allocations: 0.5401 MB / 0.5063 GB, free: 68.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03772/0.8936, allocations: 16.39 MB / 0.5223 GB, free: 61.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002753/0.894, allocations: 74.62 kB / 0.5224 GB, free: 61.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002005/0.896, allocations: 265.9 kB / 0.5226 GB, free: 61.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002428/0.8984, allocations: 1.485 MB / 0.5241 GB, free: 60.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03106/0.9295, allocations: 14.13 MB / 0.5379 GB, free: 46.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2796/1.209, allocations: 63.62 MB / 0.6 GB, free: 68.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01852/1.228, allocations: 6.177 MB / 0.606 GB, free: 68.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004677/1.232, allocations: 2.969 MB / 0.6089 GB, free: 68.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01987/1.252, allocations: 13.21 MB / 0.6218 GB, free: 65.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/1.252, allocations: 59.53 kB / 0.6219 GB, free: 65.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 5.801e-06/1.252, allocations: 3.219 kB / 0.6219 GB, free: 65.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=278): time 0.0635/1.316, allocations: 21.86 MB / 0.6432 GB, free: 62.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002494/1.318, allocations: 4.581 MB / 0.6477 GB, free: 57.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006863/1.325, allocations: 4.187 MB / 0.6518 GB, free: 56.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008415/1.326, allocations: 63.55 kB / 0.6519 GB, free: 56.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002426/1.329, allocations: 3.838 MB / 0.6556 GB, free: 53.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001965/1.331, allocations: 1.097 MB / 0.6567 GB, free: 52.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007524/1.331, allocations: 159.5 kB / 0.6568 GB, free: 52.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004397/1.332, allocations: 0.6414 MB / 0.6575 GB, free: 51.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004406/1.336, allocations: 3.229 MB / 0.6606 GB, free: 50.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007255/1.344, allocations: 7.763 MB / 0.6682 GB, free: 43.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007244/1.351, allocations: 4.889 MB / 0.673 GB, free: 42.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001488/1.351, allocations: 46.25 kB / 0.673 GB, free: 42.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.02531/1.376, allocations: 12.78 MB / 0.6855 GB, free: 34.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.376, allocations: 76.78 kB / 0.6856 GB, free: 33.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01182/1.388, allocations: 6.181 MB / 0.6916 GB, free: 29.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0075/1.396, allocations: 2.601 MB / 0.6942 GB, free: 27.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007268/1.403, allocations: 1.97 MB / 0.6961 GB, free: 25.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008528/1.412, allocations: 11.5 MB / 0.7073 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008617/1.42, allocations: 0.8096 MB / 0.7081 GB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001534/1.422, allocations: 492.2 kB / 0.7086 GB, free: 13.26 MB / 362.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 () * 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.001456/1.423, allocations: 0.7028 MB / 0.7093 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009076/1.424, allocations: 450.2 kB / 0.7097 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/1.437, allocations: 6.908 MB / 0.7164 GB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01169/1.449, allocations: 6.18 MB / 0.7225 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-05/1.449, allocations: 4 kB / 0.7225 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.374e-05/1.449, allocations: 11.95 kB / 0.7225 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2425/1.692, allocations: 15.65 MB / 0.7378 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/1.692, allocations: 6.031 kB / 0.7378 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/1.695, allocations: 0.5176 MB / 0.7383 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008826/1.704, allocations: 2.892 MB / 0.7411 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009592/1.705, allocations: 81.66 kB / 0.7412 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/1.717, allocations: 13.71 MB / 0.7546 GB, free: 75.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002106/1.719, allocations: 4.416 MB / 0.7589 GB, free: 71.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/1.737, allocations: 11.44 MB / 0.7701 GB, free: 69.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/1.739, allocations: 0.503 MB / 0.7705 GB, free: 69.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001488/1.74, allocations: 73.38 kB / 0.7706 GB, free: 69.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003454/1.744, allocations: 355 kB / 0.771 GB, free: 69.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007311/1.744, allocations: 218 kB / 0.7712 GB, free: 69.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/1.745, allocations: 88.44 kB / 0.7712 GB, free: 69.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004801/1.749, allocations: 2.886 MB / 0.7741 GB, free: 69.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.749, allocations: 0 / 0.7741 GB, free: 69.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01065/1.76, allocations: 1.574 MB / 0.7756 GB, free: 69.47 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 () * 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.0008788/1.761, allocations: 239.5 kB / 0.7758 GB, free: 69.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01608/1.777, allocations: 9.265 MB / 0.7849 GB, free: 66.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.777, allocations: 0 / 0.7849 GB, free: 66.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008824/1.786, allocations: 4.889 MB / 0.7896 GB, free: 64.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00382/1.79, allocations: 0.5088 MB / 0.7901 GB, free: 63.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/1.814, allocations: 12.36 MB / 0.8022 GB, free: 58.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004957/1.819, allocations: 4.061 MB / 0.8062 GB, free: 56.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.006359/1.825, allocations: 2.401 MB / 0.8085 GB, free: 55.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.826, allocations: 336.1 kB / 0.8088 GB, free: 55.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/1.826, allocations: 0 / 0.8088 GB, free: 55.1 MB / 378.7 MB Notification: Performance of Templates: time 0.08367/1.91, allocations: 54.84 MB / 0.8624 GB, free: 5.305 MB / 378.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)