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.001636/0.001636, allocations: 97.83 kB / 16.5 MB, free: 6.648 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.002115/0.002115, allocations: 194 kB / 17.42 MB, free: 6.066 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.374/1.374, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001308/0.001308, allocations: 51.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.1001, allocations: 46.63 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.2311/0.3312, allocations: 60.62 MB / 386.6 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02387/0.3551, allocations: 12.17 MB / 398.7 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01188/0.367, allocations: 256.7 kB / 399 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006601/0.3737, allocations: 3.428 MB / 402.4 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007498/0.3812, allocations: 2.229 MB / 404.7 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.3839, allocations: 0.9266 MB / 405.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009305/0.3932, allocations: 8.562 MB / 414.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005386/0.3986, allocations: 4.577 MB / 418.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/0.4022, allocations: 1.951 MB / 420.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004661/0.4069, allocations: 3.198 MB / 423.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.4082, allocations: 328 kB / 424.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.4115, allocations: 1.305 MB / 425.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002779/0.4143, allocations: 2.661 MB / 428.2 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003817/0.4181, allocations: 3.016 MB / 431.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008737/0.4268, allocations: 8.959 MB / 440.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4269, allocations: 0 / 440.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4269, allocations: 0 / 440.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002672/0.4272, allocations: 4 kB / 440.1 MB, free: 9.676 MB / 350.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.01457/0.4417, allocations: 6.884 MB / 447 MB, free: 2.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4418, allocations: 8.031 kB / 447 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.4519, allocations: 2.614 MB / 449.6 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006679/0.4586, allocations: 3.344 MB / 453 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.4589, allocations: 359.2 kB / 453.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002001/0.461, allocations: 0.6718 MB / 454 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/0.4943, allocations: 17.41 MB / 471.4 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001809/0.4945, allocations: 63.47 kB / 471.5 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007549/0.4952, allocations: 217 kB / 471.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003929/0.4992, allocations: 2.84 MB / 474.5 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03526/0.5344, allocations: 15.27 MB / 489.8 MB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2812/0.8157, allocations: 58.92 MB / 0.5359 GB, free: 128.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01808/0.8338, allocations: 7.136 MB / 0.5428 GB, free: 127.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004539/0.8383, allocations: 3.25 MB / 0.546 GB, free: 127.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01823/0.8566, allocations: 14.46 MB / 0.5601 GB, free: 120.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.8567, allocations: 74.16 kB / 0.5602 GB, free: 120.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 4.839e-06/0.8567, allocations: 0 / 0.5602 GB, free: 120.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=321): time 0.05927/0.916, allocations: 26.12 MB / 0.5857 GB, free: 101.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002245/0.9182, allocations: 4.586 MB / 0.5902 GB, free: 96.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006082/0.9243, allocations: 5.129 MB / 0.5952 GB, free: 91.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007726/0.9251, allocations: 73.14 kB / 0.5953 GB, free: 91.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001652/0.9268, allocations: 4.175 MB / 0.5993 GB, free: 87.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001413/0.9282, allocations: 1.25 MB / 0.6006 GB, free: 86.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/0.9302, allocations: 1.773 MB / 0.6023 GB, free: 84.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.9303, allocations: 304.1 kB / 0.6026 GB, free: 84.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00448/0.9348, allocations: 3.652 MB / 0.6061 GB, free: 80.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006753/0.9415, allocations: 8.639 MB / 0.6146 GB, free: 69.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/0.9547, allocations: 13.02 MB / 0.6273 GB, free: 54.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/0.9549, allocations: 48 kB / 0.6273 GB, free: 54.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.04086/0.9957, allocations: 17.04 MB / 0.644 GB, free: 37.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.969e-05/0.9958, allocations: 80 kB / 0.6441 GB, free: 37.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03819/1.034, allocations: 9.709 MB / 0.6535 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02746/1.062, allocations: 6.16 MB / 0.6596 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00642/1.068, allocations: 2.059 MB / 0.6616 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/1.088, allocations: 17.7 MB / 0.6788 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007291/1.095, allocations: 0.7177 MB / 0.6795 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/1.097, allocations: 0.5268 MB / 0.6801 GB, free: 15.25 MB / 462.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.004553/1.101, allocations: 2.738 MB / 0.6827 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008644/1.102, allocations: 483.7 kB / 0.6832 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/1.117, allocations: 7.397 MB / 0.6904 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0139/1.131, allocations: 6.588 MB / 0.6969 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-05/1.131, allocations: 4 kB / 0.6969 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-05/1.131, allocations: 15.95 kB / 0.6969 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2231/1.354, allocations: 17.15 MB / 0.7136 GB, free: 175 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-05/1.354, allocations: 6.625 kB / 0.7136 GB, free: 175 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003033/1.357, allocations: 0.5901 MB / 0.7142 GB, free: 175 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008724/1.366, allocations: 2.914 MB / 0.7171 GB, free: 174.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008154/1.367, allocations: 98.28 kB / 0.7171 GB, free: 174.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/1.38, allocations: 13.69 MB / 0.7305 GB, free: 166.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002384/1.382, allocations: 4.454 MB / 0.7349 GB, free: 162.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/1.4, allocations: 11.34 MB / 0.7459 GB, free: 158.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/1.401, allocations: 0.5291 MB / 0.7465 GB, free: 158.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001551/1.403, allocations: 78.12 kB / 0.7465 GB, free: 158.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003732/1.407, allocations: 329.6 kB / 0.7468 GB, free: 158.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008869/1.408, allocations: 244.8 kB / 0.7471 GB, free: 158.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003773/1.408, allocations: 103 kB / 0.7472 GB, free: 158.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005863/1.414, allocations: 3.161 MB / 0.7503 GB, free: 157.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.5e-07/1.414, allocations: 0 / 0.7503 GB, free: 157.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008365/1.422, allocations: 1.802 MB / 0.752 GB, free: 157.2 MB / 478.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.0009776/1.423, allocations: 239 kB / 0.7523 GB, free: 157 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01887/1.442, allocations: 10.71 MB / 0.7627 GB, free: 150.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/1.442, allocations: 7.812 kB / 0.7627 GB, free: 150.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01004/1.452, allocations: 5.123 MB / 0.7677 GB, free: 144.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006348/1.459, allocations: 0.622 MB / 0.7683 GB, free: 144.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/1.487, allocations: 18.46 MB / 0.7864 GB, free: 125.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006003/1.493, allocations: 4.307 MB / 0.7906 GB, free: 121.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006331/1.499, allocations: 2.56 MB / 0.7931 GB, free: 118.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.501, allocations: 375.3 kB / 0.7934 GB, free: 118.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/1.501, allocations: 0 / 0.7934 GB, free: 118.5 MB / 478.1 MB Notification: Performance of Templates: time 0.1083/1.609, allocations: 70.76 MB / 0.8625 GB, free: 47.71 MB / 478.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)