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.002025/0.002025, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.153/1.153, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001601/0.001601, allocations: 107.4 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.575e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06225/0.06228, allocations: 38.77 MB / 301 MB, free: 3.621 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.2958, allocations: 84.08 MB / 385.1 MB, free: 496 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.296, allocations: 83.31 kB / 385.1 MB, free: 452 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4395/0.7355, allocations: 105.4 MB / 490.5 MB, free: 70.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.7356, allocations: 3.344 kB / 490.5 MB, free: 70.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001886/0.7358, allocations: 99.97 kB / 490.6 MB, free: 70.62 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.02479/0.7606, allocations: 6.305 MB / 496.9 MB, free: 68.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.7606, allocations: 11.09 kB / 496.9 MB, free: 68.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01644/0.7771, allocations: 3.366 MB / 0.4886 GB, free: 68.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/0.7939, allocations: 7.469 MB / 0.4959 GB, free: 67.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.7942, allocations: 178.2 kB / 0.4961 GB, free: 67.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002385/0.7966, allocations: 320.8 kB / 0.4964 GB, free: 67.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0139/0.8105, allocations: 8.374 MB / 0.5045 GB, free: 67.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02356/0.8341, allocations: 12.18 MB / 0.5164 GB, free: 62.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/0.8344, allocations: 78.19 kB / 0.5165 GB, free: 62.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000929/0.8353, allocations: 37.41 kB / 0.5165 GB, free: 62.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002134/0.8375, allocations: 1.491 MB / 0.518 GB, free: 62.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06611/0.9036, allocations: 62.62 MB / 0.5792 GB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005377/0.909, allocations: 4.216 MB / 0.5833 GB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004016/0.9131, allocations: 2.794 MB / 0.586 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02287/0.936, allocations: 12.01 MB / 0.5977 GB, free: 2.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.9361, allocations: 59.88 kB / 0.5978 GB, free: 2.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=238): time 5.54e-06/0.9361, allocations: 0 / 0.5978 GB, free: 2.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=267): time 0.2248/1.161, allocations: 19.34 MB / 0.6167 GB, free: 78.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/1.161, allocations: 154.5 kB / 0.6168 GB, free: 78.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005526/1.167, allocations: 3.649 MB / 0.6204 GB, free: 77.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006262/1.167, allocations: 29.39 kB / 0.6204 GB, free: 77.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0018/1.169, allocations: 3.915 MB / 0.6242 GB, free: 75.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001164/1.17, allocations: 1.03 MB / 0.6252 GB, free: 74.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/1.171, allocations: 2.938 kB / 0.6252 GB, free: 74.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003477/1.171, allocations: 0.6485 MB / 0.6259 GB, free: 74.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003715/1.175, allocations: 3.088 MB / 0.6289 GB, free: 74.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005547/1.18, allocations: 7.737 MB / 0.6364 GB, free: 68.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005834/1.186, allocations: 4.752 MB / 0.6411 GB, free: 68.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.284e-05/1.186, allocations: 47.19 kB / 0.6411 GB, free: 68.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=1072) (initialization): time 0.02178/1.208, allocations: 11.8 MB / 0.6527 GB, free: 65.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001869/1.208, allocations: 81.23 kB / 0.6527 GB, free: 65.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01167/1.22, allocations: 5.964 MB / 0.6586 GB, free: 63.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00759/1.227, allocations: 2.577 MB / 0.6611 GB, free: 63.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007229/1.235, allocations: 2.008 MB / 0.663 GB, free: 63.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008524/1.243, allocations: 11.09 MB / 0.6739 GB, free: 54.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008797/1.252, allocations: 0.66 MB / 0.6745 GB, free: 54.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002142/1.254, allocations: 0.4884 MB / 0.675 GB, free: 54.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 757 * 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 (1015): * Single equations (assignments): 994 * 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.003511/1.258, allocations: 0.5249 MB / 0.6755 GB, free: 53.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/1.259, allocations: 414.7 kB / 0.6759 GB, free: 53.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/1.273, allocations: 6.606 MB / 0.6823 GB, free: 48.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01082/1.284, allocations: 5.955 MB / 0.6882 GB, free: 43.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.703e-05/1.284, allocations: 4 kB / 0.6882 GB, free: 43.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.514e-05/1.284, allocations: 14.03 kB / 0.6882 GB, free: 43.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/1.312, allocations: 14.28 MB / 0.7021 GB, free: 31.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-05/1.312, allocations: 7.938 kB / 0.7021 GB, free: 31.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002828/1.315, allocations: 0.4996 MB / 0.7026 GB, free: 30.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008173/1.324, allocations: 2.838 MB / 0.7054 GB, free: 28.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001119/1.325, allocations: 43.94 kB / 0.7054 GB, free: 28.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/1.337, allocations: 13.39 MB / 0.7185 GB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002106/1.339, allocations: 4.248 MB / 0.7227 GB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3404/1.679, allocations: 10.67 MB / 0.7331 GB, free: 65.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/1.681, allocations: 473.1 kB / 0.7335 GB, free: 65.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/1.682, allocations: 27.11 kB / 0.7336 GB, free: 65.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004614/1.687, allocations: 311.1 kB / 0.7338 GB, free: 65.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008158/1.688, allocations: 198.6 kB / 0.734 GB, free: 65.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003765/1.688, allocations: 81.97 kB / 0.7341 GB, free: 65.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006638/1.695, allocations: 2.411 MB / 0.7365 GB, free: 65.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.623e-06/1.695, allocations: 0 / 0.7365 GB, free: 65.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0135/1.709, allocations: 1.44 MB / 0.7379 GB, free: 65.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (215): * Single equations (assignments): 200 * 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.001149/1.71, allocations: 184.8 kB / 0.7381 GB, free: 65.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.02154/1.731, allocations: 8.861 MB / 0.7467 GB, free: 64.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.731, allocations: 0 / 0.7467 GB, free: 64.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01257/1.744, allocations: 4.737 MB / 0.7513 GB, free: 63.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004357/1.748, allocations: 428 kB / 0.7517 GB, free: 63.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02694/1.775, allocations: 12.06 MB / 0.7635 GB, free: 60.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006683/1.782, allocations: 4.063 MB / 0.7675 GB, free: 59.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.006862/1.789, allocations: 2.454 MB / 0.7699 GB, free: 59.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/1.79, allocations: 312.4 kB / 0.7702 GB, free: 59.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/1.79, allocations: 0 / 0.7702 GB, free: 59.11 MB / 362.7 MB Notification: Performance of Templates: time 0.0785/1.869, allocations: 48.97 MB / 0.818 GB, free: 34.51 MB / 362.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)