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.001022/0.001022, allocations: 178.3 kB / 16.38 MB, free: 5.766 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.186/1.186, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001575/0.001575, allocations: 106.3 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002874, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07834/0.07865, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.3043, allocations: 90.46 MB / 445.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.3046, allocations: 96.38 kB / 445.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4278/0.7324, allocations: 107.9 MB / 0.5405 GB, free: 82.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.7324, allocations: 0 / 0.5405 GB, free: 82.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002427/0.7327, allocations: 105.4 kB / 0.5406 GB, free: 82.37 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.02666/0.7594, allocations: 6.612 MB / 0.5471 GB, free: 80.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.7594, allocations: 12 kB / 0.5471 GB, free: 80.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01594/0.7754, allocations: 3.405 MB / 0.5504 GB, free: 79.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01857/0.794, allocations: 7.529 MB / 0.5578 GB, free: 78.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000434/0.7944, allocations: 414.3 kB / 0.5582 GB, free: 78.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002507/0.797, allocations: 0.5413 MB / 0.5587 GB, free: 78.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03258/0.8296, allocations: 16.58 MB / 0.5749 GB, free: 74.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000224/0.8298, allocations: 67.25 kB / 0.575 GB, free: 74.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001129/0.831, allocations: 268.6 kB / 0.5752 GB, free: 74.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00205/0.833, allocations: 1.491 MB / 0.5767 GB, free: 74.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02686/0.8599, allocations: 14.48 MB / 0.5908 GB, free: 68.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06203/0.922, allocations: 63.55 MB / 0.6529 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/0.9375, allocations: 6.223 MB / 0.659 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2126/1.15, allocations: 13.21 MB / 0.6719 GB, free: 89.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/1.15, allocations: 59.72 kB / 0.6719 GB, free: 89.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 5.58e-06/1.15, allocations: 2.812 kB / 0.6719 GB, free: 89.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.07092/1.221, allocations: 26.87 MB / 0.6982 GB, free: 85.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002406/1.224, allocations: 4.603 MB / 0.7027 GB, free: 81.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00609/1.23, allocations: 4.319 MB / 0.7069 GB, free: 80.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004447/1.23, allocations: 64.17 kB / 0.7069 GB, free: 80.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001757/1.232, allocations: 3.838 MB / 0.7107 GB, free: 78.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.233, allocations: 1.093 MB / 0.7118 GB, free: 78.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/1.233, allocations: 157.8 kB / 0.7119 GB, free: 78.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003245/1.234, allocations: 0.6494 MB / 0.7125 GB, free: 77.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004698/1.239, allocations: 3.423 MB / 0.7159 GB, free: 77.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006353/1.245, allocations: 7.958 MB / 0.7237 GB, free: 71.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006736/1.252, allocations: 5.034 MB / 0.7286 GB, free: 69.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.612e-05/1.252, allocations: 46.53 kB / 0.7286 GB, free: 69.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.02332/1.275, allocations: 13.45 MB / 0.7417 GB, free: 65.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/1.275, allocations: 78.67 kB / 0.7418 GB, free: 65.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01135/1.287, allocations: 6.536 MB / 0.7482 GB, free: 63.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008241/1.295, allocations: 2.86 MB / 0.751 GB, free: 63.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00634/1.301, allocations: 1.911 MB / 0.7529 GB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/1.311, allocations: 12.85 MB / 0.7654 GB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00854/1.32, allocations: 0.8172 MB / 0.7662 GB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002072/1.322, allocations: 479.9 kB / 0.7667 GB, free: 49.26 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 () * Number of clocked 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.006556/1.329, allocations: 2.516 MB / 0.7691 GB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/1.33, allocations: 447.4 kB / 0.7695 GB, free: 46.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.343, allocations: 7.023 MB / 0.7764 GB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01105/1.354, allocations: 6.284 MB / 0.7825 GB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.103e-05/1.354, allocations: 4 kB / 0.7825 GB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.568e-05/1.355, allocations: 15.06 kB / 0.7826 GB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02673/1.381, allocations: 15.74 MB / 0.7979 GB, free: 21.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.822e-05/1.381, allocations: 8 kB / 0.7979 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/1.384, allocations: 0.5192 MB / 0.7984 GB, free: 20.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007762/1.392, allocations: 2.887 MB / 0.8013 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006165/1.392, allocations: 83.88 kB / 0.8013 GB, free: 17.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.403, allocations: 13.97 MB / 0.815 GB, free: 2.875 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002484/1.406, allocations: 4.466 MB / 0.8194 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1993/1.605, allocations: 11.55 MB / 0.8306 GB, free: 91.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/1.607, allocations: 0.5002 MB / 0.8311 GB, free: 90.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008762/1.608, allocations: 70.19 kB / 0.8312 GB, free: 90.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/1.611, allocations: 352.6 kB / 0.8315 GB, free: 90.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005231/1.611, allocations: 222.6 kB / 0.8317 GB, free: 90.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/1.611, allocations: 89.53 kB / 0.8318 GB, free: 90.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004808/1.616, allocations: 3.014 MB / 0.8348 GB, free: 90.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.616, allocations: 0 / 0.8348 GB, free: 90.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007699/1.624, allocations: 1.601 MB / 0.8363 GB, free: 90.8 MB / 426.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.0005926/1.625, allocations: 231 kB / 0.8365 GB, free: 90.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01745/1.642, allocations: 9.921 MB / 0.8462 GB, free: 89.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.642, allocations: 3.109 kB / 0.8462 GB, free: 89.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009355/1.651, allocations: 4.942 MB / 0.8511 GB, free: 88.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/1.655, allocations: 0.5172 MB / 0.8516 GB, free: 88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/1.68, allocations: 16.7 MB / 0.8679 GB, free: 81.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003638/1.683, allocations: 4.074 MB / 0.8719 GB, free: 80.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005673/1.689, allocations: 2.395 MB / 0.8742 GB, free: 80.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009995/1.69, allocations: 331 kB / 0.8745 GB, free: 80.17 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/1.69, allocations: 0 / 0.8745 GB, free: 80.17 MB / 426.7 MB Notification: Performance of Templates: time 0.08274/1.773, allocations: 56.74 MB / 0.9299 GB, free: 50.02 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)