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.001591/0.001591, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001985, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.488/1.488, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001254/0.001254, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2685, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01836/0.2869, allocations: 15.2 MB / 340.5 MB, free: 4.676 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.2986, allocations: 4.699 MB / 345.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.3017, allocations: 91.59 kB / 345.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006477/0.3083, allocations: 3.461 MB / 348.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008101/0.3164, allocations: 2.369 MB / 351.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.3189, allocations: 0.9983 MB / 352.1 MB, free: 9.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009557/0.3284, allocations: 6.078 MB / 358.2 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006626/0.3351, allocations: 4.625 MB / 362.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004196/0.3393, allocations: 2.169 MB / 365 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00472/0.3441, allocations: 2.994 MB / 368 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.3454, allocations: 444 kB / 368.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.3486, allocations: 1.354 MB / 369.8 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002868/0.3515, allocations: 2.723 MB / 372.5 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004213/0.3557, allocations: 3.122 MB / 375.6 MB, free: 1.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.3669, allocations: 9.053 MB / 384.7 MB, free: 8.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.367, allocations: 4 kB / 384.7 MB, free: 8.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.367, allocations: 3.938 kB / 384.7 MB, free: 8.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003862/0.3674, allocations: 0 / 384.7 MB, free: 8.293 MB / 318.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.01806/0.3855, allocations: 6.889 MB / 391.6 MB, free: 1.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.3855, allocations: 12.03 kB / 391.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.3968, allocations: 2.617 MB / 394.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008021/0.4049, allocations: 3.343 MB / 397.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005007/0.4054, allocations: 352.8 kB / 397.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003035/0.4085, allocations: 0.6711 MB / 398.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04489/0.4534, allocations: 17.4 MB / 416 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002925/0.4537, allocations: 59.41 kB / 416 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001827/0.4556, allocations: 219.8 kB / 416.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00506/0.4606, allocations: 2.847 MB / 419.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03744/0.4981, allocations: 15.27 MB / 434.4 MB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2966/0.7947, allocations: 58.93 MB / 493.3 MB, free: 68.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/0.8115, allocations: 7.133 MB / 0.4887 GB, free: 65.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004113/0.8157, allocations: 3.249 MB / 0.4919 GB, free: 63.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02085/0.8366, allocations: 14.47 MB / 0.506 GB, free: 52.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.8367, allocations: 73.11 kB / 0.5061 GB, free: 52.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=289): time 5.73e-06/0.8367, allocations: 0 / 0.5061 GB, free: 52.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=321): time 0.06694/0.9036, allocations: 26.11 MB / 0.5316 GB, free: 26.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002615/0.9063, allocations: 4.863 MB / 0.5363 GB, free: 20.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007009/0.9133, allocations: 5.121 MB / 0.5413 GB, free: 15.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007804/0.9142, allocations: 73.45 kB / 0.5414 GB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00211/0.9163, allocations: 4.17 MB / 0.5455 GB, free: 11.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001868/0.9182, allocations: 1.25 MB / 0.5467 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003271/0.9214, allocations: 1.779 MB / 0.5484 GB, free: 8.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.9215, allocations: 301.1 kB / 0.5487 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004569/0.9261, allocations: 3.656 MB / 0.5523 GB, free: 4.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008654/0.9348, allocations: 8.62 MB / 0.5607 GB, free: 9.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01938/0.9542, allocations: 13.03 MB / 0.5734 GB, free: 10.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002237/0.9545, allocations: 56 kB / 0.5735 GB, free: 9.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.05179/1.006, allocations: 17.04 MB / 0.5901 GB, free: 8.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002264/1.007, allocations: 80.94 kB / 0.5902 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03347/1.04, allocations: 9.709 MB / 0.5997 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02998/1.07, allocations: 6.172 MB / 0.6057 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00692/1.077, allocations: 2.058 MB / 0.6077 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2258/1.303, allocations: 19.31 MB / 0.6266 GB, free: 142.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007916/1.311, allocations: 0.7118 MB / 0.6273 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/1.312, allocations: 0.525 MB / 0.6278 GB, free: 142.3 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 (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.004627/1.317, allocations: 2.74 MB / 0.6304 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000916/1.318, allocations: 480 kB / 0.6309 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/1.332, allocations: 7.395 MB / 0.6381 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01137/1.343, allocations: 6.591 MB / 0.6446 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.728e-05/1.343, allocations: 7.688 kB / 0.6446 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.575e-05/1.343, allocations: 15.38 kB / 0.6446 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02728/1.37, allocations: 17.16 MB / 0.6613 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/1.371, allocations: 11.06 kB / 0.6613 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/1.373, allocations: 0.5854 MB / 0.6619 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007698/1.381, allocations: 2.923 MB / 0.6648 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003307/1.381, allocations: 95.77 kB / 0.6649 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/1.393, allocations: 14.64 MB / 0.6792 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002265/1.395, allocations: 4.707 MB / 0.6838 GB, free: 99.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/1.412, allocations: 11.34 MB / 0.6948 GB, free: 88.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/1.414, allocations: 0.5273 MB / 0.6954 GB, free: 87.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001395/1.415, allocations: 83.97 kB / 0.6954 GB, free: 87.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003447/1.419, allocations: 315 kB / 0.6957 GB, free: 87.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007974/1.42, allocations: 249.1 kB / 0.696 GB, free: 87.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002545/1.42, allocations: 104 kB / 0.6961 GB, free: 87.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004587/1.424, allocations: 3.163 MB / 0.6992 GB, free: 83.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.424, allocations: 0 / 0.6992 GB, free: 83.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008502/1.433, allocations: 1.798 MB / 0.7009 GB, free: 82.16 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 (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.0007332/1.434, allocations: 258.2 kB / 0.7012 GB, free: 81.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02325/1.457, allocations: 14.01 MB / 0.7148 GB, free: 67.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/1.457, allocations: 0 / 0.7148 GB, free: 67.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009516/1.467, allocations: 5.13 MB / 0.7199 GB, free: 62.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005203/1.472, allocations: 0.6522 MB / 0.7205 GB, free: 61.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02199/1.494, allocations: 15.65 MB / 0.7358 GB, free: 46.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003926/1.498, allocations: 4.3 MB / 0.74 GB, free: 41.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005775/1.504, allocations: 2.56 MB / 0.7425 GB, free: 39.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009942/1.505, allocations: 371.3 kB / 0.7428 GB, free: 38.74 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/1.505, allocations: 0 / 0.7428 GB, free: 38.74 MB / 446.1 MB Notification: Performance of Templates: time 0.2936/1.798, allocations: 73.27 MB / 0.8144 GB, free: 121.1 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)