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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 108 kB / 15.6 MB, free: 132 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.001357/0.001357, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.457/1.457, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.001341/0.001341, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2268, 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.01606/0.2429, allocations: 15.19 MB / 340.5 MB, free: 4.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.2533, allocations: 4.71 MB / 345.2 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.2559, allocations: 87.75 kB / 345.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007315/0.2633, allocations: 3.465 MB / 348.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009094/0.2724, allocations: 2.376 MB / 351.1 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.275, allocations: 1.002 MB / 352.1 MB, free: 9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00867/0.2837, allocations: 6.074 MB / 358.2 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00563/0.2894, allocations: 4.621 MB / 362.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.2932, allocations: 2.169 MB / 365 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003708/0.2969, allocations: 2.994 MB / 368 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000889/0.2978, allocations: 444 kB / 368.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.3004, allocations: 1.362 MB / 369.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.3033, allocations: 2.72 MB / 372.5 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003792/0.3071, allocations: 3.126 MB / 375.6 MB, free: 1.367 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.3175, allocations: 9.049 MB / 384.7 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3176, allocations: 0 / 384.7 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3176, allocations: 0 / 384.7 MB, free: 8.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003342/0.3179, allocations: 0 / 384.7 MB, free: 8.285 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.017/0.3349, allocations: 6.889 MB / 391.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.335, allocations: 8.031 kB / 391.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.3455, allocations: 2.617 MB / 394.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00652/0.3521, allocations: 3.347 MB / 397.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002902/0.3524, allocations: 352.8 kB / 397.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001868/0.3543, allocations: 0.6711 MB / 398.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0398/0.3941, allocations: 17.4 MB / 416 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000212/0.3944, allocations: 63.47 kB / 416 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009287/0.3953, allocations: 215.8 kB / 416.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00464/0.4, allocations: 2.851 MB / 419.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03582/0.4358, allocations: 15.27 MB / 434.4 MB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2659/0.7018, allocations: 58.92 MB / 493.3 MB, free: 68.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01613/0.7179, allocations: 7.133 MB / 0.4887 GB, free: 65.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004391/0.7224, allocations: 3.255 MB / 0.4919 GB, free: 63.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/0.7404, allocations: 14.46 MB / 0.506 GB, free: 52.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.7405, allocations: 65.19 kB / 0.5061 GB, free: 52.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=289): time 5.71e-06/0.7405, allocations: 0 / 0.5061 GB, free: 52.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=321): time 0.06553/0.8061, allocations: 26.11 MB / 0.5316 GB, free: 26.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002821/0.8089, allocations: 4.867 MB / 0.5363 GB, free: 20.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00641/0.8154, allocations: 5.122 MB / 0.5413 GB, free: 15.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007112/0.8161, allocations: 73.7 kB / 0.5414 GB, free: 15.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001777/0.8179, allocations: 4.174 MB / 0.5455 GB, free: 11.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00138/0.8193, allocations: 1.244 MB / 0.5467 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002022/0.8213, allocations: 1.779 MB / 0.5484 GB, free: 8.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.19e-05/0.8214, allocations: 305.1 kB / 0.5487 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004261/0.8256, allocations: 3.652 MB / 0.5523 GB, free: 4.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007826/0.8335, allocations: 8.624 MB / 0.5607 GB, free: 9.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/0.8498, allocations: 13.03 MB / 0.5734 GB, free: 10.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001237/0.8499, allocations: 48 kB / 0.5735 GB, free: 10 MB / 414.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.04851/0.8985, allocations: 17.05 MB / 0.5901 GB, free: 8.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.8987, allocations: 80 kB / 0.5902 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03171/0.9304, allocations: 9.714 MB / 0.5997 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03005/0.9605, allocations: 6.164 MB / 0.6057 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007019/0.9675, allocations: 2.051 MB / 0.6077 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2164/1.184, allocations: 19.31 MB / 0.6266 GB, free: 142.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008555/1.193, allocations: 0.7112 MB / 0.6273 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/1.194, allocations: 0.52 MB / 0.6278 GB, free: 142.6 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.00508/1.199, allocations: 2.748 MB / 0.6304 GB, free: 141.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00145/1.201, allocations: 483.8 kB / 0.6309 GB, free: 141.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.214, allocations: 7.388 MB / 0.6381 GB, free: 139.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01258/1.226, allocations: 6.595 MB / 0.6446 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.599e-05/1.227, allocations: 7.781 kB / 0.6446 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001323/1.227, allocations: 12.05 kB / 0.6446 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03179/1.258, allocations: 17.17 MB / 0.6613 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.325e-05/1.259, allocations: 8 kB / 0.6614 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002824/1.261, allocations: 0.587 MB / 0.6619 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008215/1.27, allocations: 2.915 MB / 0.6648 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009504/1.271, allocations: 95.92 kB / 0.6649 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/1.283, allocations: 14.64 MB / 0.6792 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002155/1.286, allocations: 4.709 MB / 0.6838 GB, free: 99.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/1.302, allocations: 11.34 MB / 0.6948 GB, free: 88.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/1.304, allocations: 0.5303 MB / 0.6954 GB, free: 87.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009904/1.305, allocations: 80.62 kB / 0.6954 GB, free: 87.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/1.308, allocations: 319.5 kB / 0.6957 GB, free: 87.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005814/1.309, allocations: 241.4 kB / 0.696 GB, free: 87.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/1.309, allocations: 103.9 kB / 0.6961 GB, free: 87.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004081/1.313, allocations: 3.163 MB / 0.6992 GB, free: 84 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.313, allocations: 4 kB / 0.6992 GB, free: 84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007298/1.32, allocations: 1.802 MB / 0.7009 GB, free: 82.21 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.00076/1.321, allocations: 252.5 kB / 0.7012 GB, free: 81.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02392/1.345, allocations: 14.01 MB / 0.7148 GB, free: 67.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/1.345, allocations: 4.375 kB / 0.7148 GB, free: 67.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009537/1.355, allocations: 5.131 MB / 0.7199 GB, free: 62.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006733/1.361, allocations: 0.6598 MB / 0.7205 GB, free: 61.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02842/1.39, allocations: 15.64 MB / 0.7358 GB, free: 46.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006551/1.396, allocations: 4.296 MB / 0.74 GB, free: 41.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007155/1.404, allocations: 2.556 MB / 0.7425 GB, free: 39.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/1.405, allocations: 371.3 kB / 0.7428 GB, free: 38.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/1.405, allocations: 0 / 0.7428 GB, free: 38.78 MB / 446.1 MB Notification: Performance of Templates: time 0.2981/1.703, allocations: 73.28 MB / 0.8144 GB, free: 121.2 MB / 446.1 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)