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.0008381/0.000838, allocations: 89.11 kB / 16.32 MB, free: 6.449 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.001015/0.001016, allocations: 178.7 kB / 17.21 MB, free: 6.32 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.573/1.573, allocations: 205.4 MB / 223.4 MB, free: 5.746 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.0005128/0.0005132, allocations: 16 kB / 280.1 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2345, allocations: 47.59 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.05117/0.2857, allocations: 54.96 MB / 382.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02709/0.3128, allocations: 11.57 MB / 394.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008254/0.3211, allocations: 259.3 kB / 394.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008059/0.3292, allocations: 2.815 MB / 397.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02285/0.3521, allocations: 8.404 MB / 405.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004847/0.357, allocations: 0.8854 MB / 406.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01041/0.3674, allocations: 6.854 MB / 413.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.3779, allocations: 5.572 MB / 419 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00483/0.3828, allocations: 1.814 MB / 420.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00507/0.3879, allocations: 2.808 MB / 423.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.3894, allocations: 208 kB / 423.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.3926, allocations: 1.026 MB / 424.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003661/0.3963, allocations: 2.451 MB / 427.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002263/0.3985, allocations: 1.135 MB / 428.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008485/0.407, allocations: 7.092 MB / 435.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4071, allocations: 3.938 kB / 435.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4071, allocations: 0 / 435.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003216/0.4074, allocations: 0 / 435.6 MB, free: 7.332 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.01411/0.4215, allocations: 5.75 MB / 441.3 MB, free: 1.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.4216, allocations: 8.031 kB / 441.3 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.4321, allocations: 2.671 MB / 444 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006619/0.4387, allocations: 3.274 MB / 447.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.4391, allocations: 352.8 kB / 447.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002354/0.4415, allocations: 0.6866 MB / 448.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2217/0.6632, allocations: 17.4 MB / 465.7 MB, free: 107.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002198/0.6635, allocations: 66.44 kB / 465.8 MB, free: 107.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008234/0.6643, allocations: 221.4 kB / 466 MB, free: 107.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003698/0.668, allocations: 2.842 MB / 468.8 MB, free: 106.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0294/0.6974, allocations: 15.26 MB / 484.1 MB, free: 95.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07287/0.7703, allocations: 58.85 MB / 0.5302 GB, free: 35.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01593/0.7863, allocations: 7.132 MB / 0.5372 GB, free: 28.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004202/0.7906, allocations: 3.23 MB / 0.5403 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02083/0.8114, allocations: 14.47 MB / 0.5545 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/0.8115, allocations: 68.48 kB / 0.5545 GB, free: 10.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=289): time 6.482e-06/0.8115, allocations: 0 / 0.5545 GB, free: 10.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=321): time 0.06483/0.8764, allocations: 26.11 MB / 0.58 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003307/0.8797, allocations: 4.586 MB / 0.5845 GB, free: 10.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007511/0.8873, allocations: 5.102 MB / 0.5895 GB, free: 5.594 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007327/0.888, allocations: 75.59 kB / 0.5896 GB, free: 5.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00296/0.891, allocations: 4.178 MB / 0.5936 GB, free: 1.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001786/0.8928, allocations: 1.245 MB / 0.5949 GB, free: 60 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005133/0.8933, allocations: 176.1 kB / 0.595 GB, free: 15.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004695/0.8938, allocations: 0.6823 MB / 0.5957 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005985/0.8998, allocations: 3.617 MB / 0.5992 GB, free: 11.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009671/0.9095, allocations: 8.589 MB / 0.6076 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1984/1.108, allocations: 5.366 MB / 0.6129 GB, free: 138 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001779/1.108, allocations: 54.38 kB / 0.6129 GB, free: 138 MB / 430.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.04044/1.149, allocations: 16.97 MB / 0.6295 GB, free: 133.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.149, allocations: 79.62 kB / 0.6295 GB, free: 133.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02482/1.174, allocations: 9.681 MB / 0.639 GB, free: 126.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02321/1.197, allocations: 6.185 MB / 0.645 GB, free: 120.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0062/1.203, allocations: 2.055 MB / 0.647 GB, free: 118.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/1.222, allocations: 17.65 MB / 0.6643 GB, free: 100.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007305/1.229, allocations: 0.7082 MB / 0.665 GB, free: 99.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001594/1.231, allocations: 0.5204 MB / 0.6655 GB, free: 98.87 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 (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.004842/1.236, allocations: 2.752 MB / 0.6682 GB, free: 96.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008561/1.237, allocations: 483.8 kB / 0.6686 GB, free: 95.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.249, allocations: 7.398 MB / 0.6759 GB, free: 88.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01108/1.26, allocations: 6.573 MB / 0.6823 GB, free: 81.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.853e-05/1.261, allocations: 4 kB / 0.6823 GB, free: 81.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.661e-05/1.261, allocations: 19.94 kB / 0.6823 GB, free: 81.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/1.286, allocations: 17.16 MB / 0.6991 GB, free: 64.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/1.286, allocations: 12.03 kB / 0.6991 GB, free: 64.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/1.289, allocations: 0.5811 MB / 0.6996 GB, free: 63.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006987/1.296, allocations: 2.908 MB / 0.7025 GB, free: 61.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004695/1.296, allocations: 91.94 kB / 0.7026 GB, free: 60.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.307, allocations: 13.73 MB / 0.716 GB, free: 46.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002086/1.309, allocations: 4.433 MB / 0.7203 GB, free: 41.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/1.326, allocations: 11.31 MB / 0.7314 GB, free: 30.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.327, allocations: 0.5377 MB / 0.7319 GB, free: 29.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006283/1.327, allocations: 83.97 kB / 0.732 GB, free: 29.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002437/1.33, allocations: 328.4 kB / 0.7323 GB, free: 29.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005085/1.33, allocations: 241.5 kB / 0.7325 GB, free: 29.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.331, allocations: 102.1 kB / 0.7326 GB, free: 28.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004452/1.335, allocations: 3.132 MB / 0.7357 GB, free: 25.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.335, allocations: 4 kB / 0.7357 GB, free: 25.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007776/1.343, allocations: 1.792 MB / 0.7374 GB, free: 24.04 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 (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.000604/1.343, allocations: 247 kB / 0.7376 GB, free: 23.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01583/1.359, allocations: 10.65 MB / 0.748 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.359, allocations: 0 / 0.748 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008507/1.368, allocations: 5.115 MB / 0.753 GB, free: 7.637 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004602/1.373, allocations: 0.6163 MB / 0.7536 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2066/1.579, allocations: 18.25 MB / 0.7715 GB, free: 142.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005629/1.585, allocations: 4.291 MB / 0.7757 GB, free: 141.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006226/1.591, allocations: 2.568 MB / 0.7782 GB, free: 141.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/1.592, allocations: 375.4 kB / 0.7785 GB, free: 141.4 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/1.592, allocations: 0 / 0.7785 GB, free: 141.4 MB / 446.1 MB Notification: Performance of Templates: time 0.0992/1.692, allocations: 68.26 MB / 0.8452 GB, free: 86.37 MB / 446.1 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)