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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001007, allocations: 95.77 kB / 16.3 MB, free: 6.461 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.001186/0.001186, allocations: 183 kB / 17.19 MB, free: 6.34 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.56/1.56, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.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.0004666/0.0004667, allocations: 15.94 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.09801, allocations: 47.59 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.04966/0.1477, allocations: 51.87 MB / 379.6 MB, free: 88 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2198/0.3676, allocations: 12.09 MB / 391.7 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0139/0.3815, allocations: 256.6 kB / 391.9 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01061/0.3922, allocations: 2.524 MB / 394.4 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02695/0.4192, allocations: 7.363 MB / 401.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004638/0.4238, allocations: 0.8681 MB / 402.7 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007334/0.4312, allocations: 3.439 MB / 406.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008895/0.4401, allocations: 5.535 MB / 411.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.4436, allocations: 1.476 MB / 413.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003586/0.4472, allocations: 2.025 MB / 415.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.4488, allocations: 208 kB / 415.3 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/0.4522, allocations: 0.9909 MB / 416.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004177/0.4564, allocations: 2.272 MB / 418.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.4588, allocations: 1.143 MB / 419.7 MB, free: 1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009235/0.4681, allocations: 7.126 MB / 426.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4681, allocations: 4 kB / 426.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4681, allocations: 0 / 426.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004904/0.4686, allocations: 0 / 426.9 MB, free: 10.8 MB / 334.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.01603/0.4847, allocations: 5.823 MB / 432.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.4848, allocations: 8.031 kB / 432.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.4986, allocations: 3.17 MB / 435.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008974/0.5076, allocations: 3.794 MB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004678/0.5081, allocations: 356 kB / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003536/0.5117, allocations: 0.6777 MB / 440.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04456/0.5563, allocations: 17.6 MB / 458.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003819/0.5567, allocations: 71.39 kB / 458.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002552/0.5593, allocations: 220.8 kB / 458.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005005/0.5643, allocations: 2.843 MB / 461.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04091/0.6052, allocations: 15.49 MB / 476.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09426/0.6995, allocations: 60.42 MB / 0.5247 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2639/0.9635, allocations: 14.81 MB / 0.5392 GB, free: 160 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03079/0.9944, allocations: 17.6 MB / 0.5564 GB, free: 154 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.9945, allocations: 68.75 kB / 0.5565 GB, free: 154 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 5.43e-06/0.9945, allocations: 3.969 kB / 0.5565 GB, free: 154 MB / 446.1 MB Notification: Performance of matching and sorting (n=321): time 0.1147/1.109, allocations: 44.32 MB / 0.5997 GB, free: 121 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002329/1.112, allocations: 4.635 MB / 0.6043 GB, free: 115.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00616/1.118, allocations: 5.46 MB / 0.6096 GB, free: 110.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009093/1.119, allocations: 69.7 kB / 0.6097 GB, free: 110.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001893/1.121, allocations: 4.187 MB / 0.6138 GB, free: 106.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001484/1.122, allocations: 1.239 MB / 0.615 GB, free: 105 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/1.122, allocations: 182.2 kB / 0.6151 GB, free: 104.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003481/1.123, allocations: 0.6743 MB / 0.6158 GB, free: 104.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004788/1.128, allocations: 3.971 MB / 0.6197 GB, free: 100.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007124/1.135, allocations: 8.9 MB / 0.6284 GB, free: 88.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008546/1.143, allocations: 5.705 MB / 0.6339 GB, free: 83.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000205/1.144, allocations: 48 kB / 0.634 GB, free: 83.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=1160) (initialization): time 0.04742/1.191, allocations: 17.65 MB / 0.6512 GB, free: 65.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001826/1.191, allocations: 76 kB / 0.6513 GB, free: 65.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03073/1.222, allocations: 10.36 MB / 0.6614 GB, free: 54.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02792/1.25, allocations: 6.18 MB / 0.6674 GB, free: 48.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007761/1.258, allocations: 2.182 MB / 0.6696 GB, free: 46.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/1.28, allocations: 18.61 MB / 0.6878 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00929/1.289, allocations: 0.7656 MB / 0.6885 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002436/1.292, allocations: 0.5174 MB / 0.689 GB, free: 25.7 MB / 446.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 (1094): * Single equations (assignments): 1073 * 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.007811/1.299, allocations: 2.742 MB / 0.6917 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002069/1.302, allocations: 493.7 kB / 0.6922 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/1.32, allocations: 8.077 MB / 0.7 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2261/1.546, allocations: 7.171 MB / 0.707 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.837e-05/1.546, allocations: 6.562 kB / 0.7071 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001202/1.546, allocations: 19.14 kB / 0.7071 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03901/1.585, allocations: 18.35 MB / 0.725 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.228e-05/1.585, allocations: 7.875 kB / 0.725 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003369/1.589, allocations: 0.7293 MB / 0.7257 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008149/1.597, allocations: 2.913 MB / 0.7285 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008696/1.598, allocations: 93.28 kB / 0.7286 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/1.61, allocations: 13.96 MB / 0.7423 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002279/1.612, allocations: 4.483 MB / 0.7466 GB, free: 122.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01974/1.632, allocations: 13.35 MB / 0.7597 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/1.634, allocations: 0.5464 MB / 0.7602 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001547/1.635, allocations: 83.97 kB / 0.7603 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003814/1.639, allocations: 373.5 kB / 0.7607 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008767/1.64, allocations: 249.5 kB / 0.7609 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002901/1.64, allocations: 104.6 kB / 0.761 GB, free: 114.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005801/1.646, allocations: 3.418 MB / 0.7643 GB, free: 111.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.646, allocations: 0 / 0.7643 GB, free: 111.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008955/1.655, allocations: 1.844 MB / 0.7661 GB, free: 109.4 MB / 446.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 (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%),(3,100.0%),(4,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 Backend phase and start with SimCode phase: time 0.000832/1.656, allocations: 268 kB / 0.7664 GB, free: 109.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01829/1.674, allocations: 11.2 MB / 0.7773 GB, free: 97.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.674, allocations: 192 / 0.7773 GB, free: 97.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009863/1.684, allocations: 5.404 MB / 0.7826 GB, free: 92.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004234/1.689, allocations: 0.5857 MB / 0.7832 GB, free: 91.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02496/1.714, allocations: 18.78 MB / 0.8015 GB, free: 72.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004329/1.718, allocations: 4.406 MB / 0.8058 GB, free: 68.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006128/1.724, allocations: 2.622 MB / 0.8084 GB, free: 65.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.725, allocations: 379.3 kB / 0.8087 GB, free: 65.45 MB / 446.1 MB Notification: Performance of SimCode: time 9.91e-07/1.725, allocations: 4 kB / 0.8087 GB, free: 65.45 MB / 446.1 MB Notification: Performance of Templates: time 0.2629/1.988, allocations: 70.95 MB / 0.878 GB, free: 126.8 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: