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.006327/0.006327, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001452/0.001453, allocations: 194.4 kB / 16.68 MB, free: 5.98 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.462/1.462, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.001388/0.001388, allocations: 54.09 kB / 326.6 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1068, allocations: 46.63 MB / 373.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01843/0.1253, allocations: 15.2 MB / 388.4 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.1379, allocations: 4.702 MB / 393.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003676/0.1416, allocations: 87.75 kB / 393.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007255/0.1489, allocations: 3.461 MB / 396.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00679/0.1558, allocations: 2.443 MB / 399.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.1585, allocations: 1.006 MB / 400.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009863/0.1684, allocations: 6.093 MB / 406.2 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009029/0.1775, allocations: 4.613 MB / 410.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005214/0.1827, allocations: 2.169 MB / 413 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005308/0.1881, allocations: 2.998 MB / 416 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001645/0.1897, allocations: 444 kB / 416.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.1934, allocations: 1.354 MB / 417.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003847/0.1973, allocations: 2.759 MB / 420.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006073/0.2034, allocations: 3.122 MB / 423.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01528/0.2187, allocations: 9.389 MB / 433 MB, free: 5.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.2187, allocations: 0 / 433 MB, free: 5.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2187, allocations: 8 kB / 433 MB, free: 5.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004192/0.2192, allocations: 0 / 433 MB, free: 5.285 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.01813/0.2373, allocations: 6.889 MB / 439.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.2374, allocations: 8.031 kB / 439.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.2486, allocations: 2.613 MB / 442.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009021/0.2577, allocations: 3.406 MB / 445.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004874/0.2582, allocations: 344.8 kB / 446.3 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003128/0.2614, allocations: 0.6749 MB / 446.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2632/0.5246, allocations: 17.4 MB / 464.4 MB, free: 60.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003847/0.5251, allocations: 61.45 kB / 464.4 MB, free: 60.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002261/0.5273, allocations: 216.2 kB / 464.6 MB, free: 60.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004899/0.5323, allocations: 2.845 MB / 467.5 MB, free: 59.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03217/0.5645, allocations: 15.27 MB / 482.7 MB, free: 51.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07088/0.6354, allocations: 58.67 MB / 0.5287 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01887/0.6543, allocations: 7.136 MB / 0.5357 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005225/0.6596, allocations: 3.249 MB / 0.5389 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02505/0.6846, allocations: 14.46 MB / 0.553 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.761e-05/0.6848, allocations: 68.56 kB / 0.5531 GB, free: 13.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=289): time 8.947e-06/0.6848, allocations: 0 / 0.5531 GB, free: 13.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=321): time 0.07238/0.7572, allocations: 26.11 MB / 0.5785 GB, free: 3.547 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00364/0.7608, allocations: 4.861 MB / 0.5833 GB, free: 14.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/0.7709, allocations: 5.129 MB / 0.5883 GB, free: 9.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001075/0.772, allocations: 73.69 kB / 0.5884 GB, free: 8.992 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003519/0.7756, allocations: 4.159 MB / 0.5924 GB, free: 4.773 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002343/0.7779, allocations: 1.253 MB / 0.5937 GB, free: 3.504 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004764/0.7827, allocations: 1.778 MB / 0.5954 GB, free: 1.711 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.7829, allocations: 309 kB / 0.5957 GB, free: 1.406 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005913/0.7888, allocations: 3.648 MB / 0.5993 GB, free: 13.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01033/0.7991, allocations: 8.628 MB / 0.6077 GB, free: 2.672 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01992/0.8191, allocations: 13.04 MB / 0.6204 GB, free: 3.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001972/0.8194, allocations: 52 kB / 0.6205 GB, free: 3.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.3811/1.201, allocations: 17.03 MB / 0.6371 GB, free: 152.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003763/1.201, allocations: 78.59 kB / 0.6372 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05062/1.252, allocations: 9.694 MB / 0.6466 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04956/1.301, allocations: 6.167 MB / 0.6527 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/1.313, allocations: 2.051 MB / 0.6547 GB, free: 147 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0256/1.338, allocations: 19.29 MB / 0.6735 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007726/1.346, allocations: 0.7073 MB / 0.6742 GB, free: 128.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001979/1.348, allocations: 0.5261 MB / 0.6747 GB, free: 127.6 MB / 494.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.005617/1.354, allocations: 2.741 MB / 0.6774 GB, free: 125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/1.355, allocations: 482.2 kB / 0.6778 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/1.369, allocations: 7.394 MB / 0.6851 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0112/1.38, allocations: 6.588 MB / 0.6915 GB, free: 110.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.215e-05/1.38, allocations: 4 kB / 0.6915 GB, free: 110.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-05/1.38, allocations: 13.08 kB / 0.6915 GB, free: 110.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03199/1.412, allocations: 17.18 MB / 0.7083 GB, free: 93.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/1.412, allocations: 4 kB / 0.7083 GB, free: 93.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002631/1.415, allocations: 0.5896 MB / 0.7089 GB, free: 92.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007624/1.423, allocations: 2.911 MB / 0.7117 GB, free: 89.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009381/1.423, allocations: 97.03 kB / 0.7118 GB, free: 89.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/1.436, allocations: 14.62 MB / 0.7261 GB, free: 74.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002209/1.438, allocations: 4.714 MB / 0.7307 GB, free: 69.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/1.456, allocations: 11.34 MB / 0.7418 GB, free: 57.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/1.457, allocations: 0.5302 MB / 0.7423 GB, free: 57.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001507/1.459, allocations: 87.36 kB / 0.7424 GB, free: 57.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00336/1.462, allocations: 319.5 kB / 0.7427 GB, free: 56.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008641/1.463, allocations: 243.2 kB / 0.7429 GB, free: 56.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004554/1.464, allocations: 107 kB / 0.743 GB, free: 56.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00583/1.469, allocations: 3.167 MB / 0.7461 GB, free: 53.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.21e-07/1.469, allocations: 0 / 0.7461 GB, free: 53.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009681/1.479, allocations: 1.792 MB / 0.7478 GB, free: 51.63 MB / 494.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.001002/1.48, allocations: 254.3 kB / 0.7481 GB, free: 51.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01799/1.498, allocations: 10.77 MB / 0.7586 GB, free: 40.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/1.498, allocations: 4 kB / 0.7586 GB, free: 40.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009062/1.507, allocations: 5.147 MB / 0.7636 GB, free: 35.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005492/1.513, allocations: 0.6558 MB / 0.7643 GB, free: 34.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/1.54, allocations: 15.47 MB / 0.7794 GB, free: 18.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007099/1.548, allocations: 4.293 MB / 0.7836 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006756/1.554, allocations: 2.556 MB / 0.7861 GB, free: 11.92 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001917/1.556, allocations: 371.3 kB / 0.7864 GB, free: 11.56 MB / 494.1 MB Notification: Performance of SimCode: time 1.953e-06/1.556, allocations: 3.938 kB / 0.7864 GB, free: 11.56 MB / 494.1 MB Notification: Performance of Templates: time 0.3537/1.91, allocations: 68.58 MB / 0.8534 GB, free: 138.5 MB / 0.4981 GB 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)