Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 191.6 kB / 16.14 MB, free: 6.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 47.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2729, allocations: 46.62 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.05614/0.3291, allocations: 60.61 MB / 385.3 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03409/0.3632, allocations: 12.17 MB / 397.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01517/0.3785, allocations: 255.4 kB / 397.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008018/0.3866, allocations: 3.436 MB / 401.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008396/0.395, allocations: 2.238 MB / 403.4 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.3977, allocations: 0.9168 MB / 404.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01089/0.4086, allocations: 8.563 MB / 412.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006836/0.4155, allocations: 4.568 MB / 417.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004075/0.4196, allocations: 1.954 MB / 419.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004667/0.4243, allocations: 3.212 MB / 422.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.4253, allocations: 328 kB / 422.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/0.4284, allocations: 1.295 MB / 424.2 MB, free: 268 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00276/0.4311, allocations: 2.657 MB / 426.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003942/0.4351, allocations: 3.013 MB / 429.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.4451, allocations: 8.959 MB / 438.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4452, allocations: 7.984 kB / 438.8 MB, free: 1.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4452, allocations: 4 kB / 438.8 MB, free: 1.566 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002718/0.4455, allocations: 0 / 438.8 MB, free: 1.566 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2151 * Number of variables: 2151 Notification: Performance of Generate backend data structure: time 0.01698/0.4625, allocations: 6.885 MB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.4625, allocations: 8.031 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.4727, allocations: 2.609 MB / 448.4 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007324/0.4801, allocations: 3.347 MB / 451.7 MB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.4804, allocations: 364.8 kB / 452.1 MB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002103/0.4825, allocations: 0.6749 MB / 452.7 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.246/0.7286, allocations: 17.4 MB / 470.1 MB, free: 105.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/0.7288, allocations: 63.95 kB / 470.2 MB, free: 105.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008864/0.7297, allocations: 220.5 kB / 470.4 MB, free: 105.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00366/0.7334, allocations: 2.838 MB / 473.2 MB, free: 104.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03062/0.764, allocations: 15.27 MB / 488.5 MB, free: 88.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0638/0.8279, allocations: 58.93 MB / 0.5346 GB, free: 29.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/0.8433, allocations: 7.135 MB / 0.5416 GB, free: 21.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003748/0.8471, allocations: 3.246 MB / 0.5448 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01762/0.8648, allocations: 14.48 MB / 0.5589 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.8648, allocations: 64.5 kB / 0.559 GB, free: 3.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=289): time 5.149e-06/0.8649, allocations: 0 / 0.559 GB, free: 3.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=321): time 0.06908/0.9339, allocations: 26.1 MB / 0.5844 GB, free: 8.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004029/0.938, allocations: 4.595 MB / 0.5889 GB, free: 3.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008378/0.9464, allocations: 5.129 MB / 0.5939 GB, free: 14.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001015/0.9475, allocations: 73.92 kB / 0.594 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003796/0.9513, allocations: 4.171 MB / 0.5981 GB, free: 10.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00225/0.9535, allocations: 1.249 MB / 0.5993 GB, free: 9.141 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002596/0.9561, allocations: 1.777 MB / 0.601 GB, free: 7.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9563, allocations: 301.1 kB / 0.6013 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00614/0.9624, allocations: 3.656 MB / 0.6049 GB, free: 3.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.205/1.167, allocations: 8.616 MB / 0.6133 GB, free: 137.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/1.183, allocations: 13.03 MB / 0.626 GB, free: 128.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000245/1.183, allocations: 50.78 kB / 0.6261 GB, free: 128.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.04004/1.223, allocations: 17.04 MB / 0.6427 GB, free: 123.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/1.223, allocations: 85.5 kB / 0.6428 GB, free: 123.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02749/1.251, allocations: 9.706 MB / 0.6523 GB, free: 115.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02716/1.278, allocations: 6.164 MB / 0.6583 GB, free: 108.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007177/1.285, allocations: 2.055 MB / 0.6603 GB, free: 106.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/1.305, allocations: 17.69 MB / 0.6776 GB, free: 88.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009034/1.314, allocations: 0.7185 MB / 0.6783 GB, free: 87.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001807/1.316, allocations: 0.5234 MB / 0.6788 GB, free: 87.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 66 (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],springDamperSeries.color[3],springDamperSeries.color[2],springDamperSeries.color[1],springDamperSeries.color_b[3],springDamperSeries.color_b[2],springDamperSeries.color_b[1],springDamperSeries.color_a[3],springDamperSeries.color_a[2],springDamperSeries.color_a[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],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[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.groundColor[3],world.groundColor[2],world.groundColor[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 (1106): * Single equations (assignments): 1085 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 3 systems {4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005159/1.321, allocations: 2.74 MB / 0.6815 GB, free: 84.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.323, allocations: 485.3 kB / 0.6819 GB, free: 84.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/1.335, allocations: 7.387 MB / 0.6892 GB, free: 76.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01186/1.347, allocations: 6.588 MB / 0.6956 GB, free: 70.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.298e-05/1.347, allocations: 8 kB / 0.6956 GB, free: 70.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001599/1.348, allocations: 19.94 kB / 0.6956 GB, free: 70.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03244/1.38, allocations: 17.16 MB / 0.7124 GB, free: 52.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/1.38, allocations: 8 kB / 0.7124 GB, free: 52.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003033/1.383, allocations: 0.5898 MB / 0.713 GB, free: 52.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008084/1.391, allocations: 2.912 MB / 0.7158 GB, free: 49.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008188/1.392, allocations: 95.45 kB / 0.7159 GB, free: 49.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.404, allocations: 13.7 MB / 0.7293 GB, free: 34.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002106/1.406, allocations: 4.441 MB / 0.7336 GB, free: 30.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/1.423, allocations: 11.35 MB / 0.7447 GB, free: 18.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.424, allocations: 0.5303 MB / 0.7452 GB, free: 18.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007629/1.425, allocations: 76.84 kB / 0.7453 GB, free: 17.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/1.428, allocations: 323.5 kB / 0.7456 GB, free: 17.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006537/1.428, allocations: 245.4 kB / 0.7458 GB, free: 17.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/1.428, allocations: 103.9 kB / 0.7459 GB, free: 17.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004121/1.433, allocations: 3.167 MB / 0.749 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/1.433, allocations: 0 / 0.749 GB, free: 14.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007546/1.44, allocations: 1.795 MB / 0.7508 GB, free: 12.36 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (273): * Single equations (assignments): 258 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 3 systems {4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006198/1.441, allocations: 239.9 kB / 0.751 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01742/1.458, allocations: 10.72 MB / 0.7615 GB, free: 1.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/1.458, allocations: 8.062 kB / 0.7615 GB, free: 1.211 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009427/1.468, allocations: 5.117 MB / 0.7665 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1836/1.651, allocations: 0.6182 MB / 0.7671 GB, free: 147.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02533/1.677, allocations: 18.47 MB / 0.7851 GB, free: 139.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004418/1.681, allocations: 4.3 MB / 0.7893 GB, free: 138 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006737/1.688, allocations: 2.562 MB / 0.7918 GB, free: 137.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/1.689, allocations: 373.2 kB / 0.7922 GB, free: 137.8 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/1.689, allocations: 0 / 0.7922 GB, free: 137.8 MB / 446.1 MB Notification: Performance of Templates: time 0.102/1.791, allocations: 70.74 MB / 0.8613 GB, free: 75.01 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.pipe 2>&1)