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.00074/0.0007396, allocations: 89.77 kB / 16.65 MB, free: 6.586 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.0009124/0.0009124, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.365/1.365, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004593/0.0004594, allocations: 12.47 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1024, allocations: 47.58 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.2492/0.3516, allocations: 59.08 MB / 387.4 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02852/0.3802, allocations: 12.1 MB / 399.5 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01221/0.3924, allocations: 255.6 kB / 399.8 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.3948, allocations: 0.5536 MB / 400.3 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007605/0.4024, allocations: 2.247 MB / 402.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.405, allocations: 0.9187 MB / 403.5 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01138/0.4164, allocations: 8.561 MB / 412 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009436/0.4258, allocations: 6.28 MB / 418.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005262/0.4312, allocations: 1.667 MB / 420 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005472/0.4367, allocations: 2.846 MB / 422.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.4382, allocations: 208 kB / 423 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.4419, allocations: 1.18 MB / 424.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00307/0.445, allocations: 2.493 MB / 426.7 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00405/0.4491, allocations: 2.835 MB / 429.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.4596, allocations: 8.711 MB / 438.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4596, allocations: 0 / 438.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4596, allocations: 4 kB / 438.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003326/0.46, allocations: 0 / 438.3 MB, free: 12.58 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.01394/0.4739, allocations: 5.677 MB / 443.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.474, allocations: 8.031 kB / 443.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.4853, allocations: 2.662 MB / 446.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007287/0.4926, allocations: 3.342 MB / 449.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/0.493, allocations: 364.8 kB / 450.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/0.4955, allocations: 0.6708 MB / 451 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03804/0.5336, allocations: 17.45 MB / 468.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000164/0.5338, allocations: 55.47 kB / 468.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008308/0.5346, allocations: 222.7 kB / 468.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004652/0.5393, allocations: 2.851 MB / 471.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03615/0.5754, allocations: 15.31 MB / 486.8 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2604/0.8359, allocations: 58.87 MB / 0.5329 GB, free: 151.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01903/0.855, allocations: 7.135 MB / 0.5399 GB, free: 150 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004165/0.8592, allocations: 3.244 MB / 0.5431 GB, free: 150 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01698/0.8762, allocations: 14.47 MB / 0.5572 GB, free: 143 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.8763, allocations: 60.84 kB / 0.5573 GB, free: 143 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 4.929e-06/0.8763, allocations: 5 kB / 0.5573 GB, free: 143 MB / 446.1 MB Notification: Performance of matching and sorting (n=321): time 0.06164/0.9379, allocations: 26.14 MB / 0.5828 GB, free: 127.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00216/0.9401, allocations: 4.6 MB / 0.5873 GB, free: 122.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005615/0.9457, allocations: 5.129 MB / 0.5923 GB, free: 117.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006824/0.9465, allocations: 70.84 kB / 0.5924 GB, free: 117.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0017/0.9482, allocations: 4.175 MB / 0.5964 GB, free: 113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.9494, allocations: 1.247 MB / 0.5977 GB, free: 111.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008468/0.9503, allocations: 0.755 MB / 0.5984 GB, free: 111 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.887e-05/0.9503, allocations: 305.1 kB / 0.5987 GB, free: 110.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004616/0.9549, allocations: 3.645 MB / 0.6022 GB, free: 107.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006939/0.9619, allocations: 8.625 MB / 0.6107 GB, free: 96.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/0.9753, allocations: 13.03 MB / 0.6234 GB, free: 80.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001369/0.9755, allocations: 48 kB / 0.6234 GB, free: 80.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.04339/1.019, allocations: 17.04 MB / 0.6401 GB, free: 63.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001698/1.019, allocations: 80 kB / 0.6402 GB, free: 63.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02954/1.049, allocations: 9.719 MB / 0.6496 GB, free: 53.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02894/1.078, allocations: 6.152 MB / 0.6557 GB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006492/1.084, allocations: 2.055 MB / 0.6577 GB, free: 45.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/1.105, allocations: 17.69 MB / 0.6749 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007927/1.113, allocations: 0.7191 MB / 0.6756 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001868/1.115, allocations: 0.5179 MB / 0.6761 GB, free: 25.72 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.00769/1.123, allocations: 2.747 MB / 0.6788 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001671/1.124, allocations: 485.8 kB / 0.6793 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/1.14, allocations: 7.409 MB / 0.6865 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01262/1.153, allocations: 6.592 MB / 0.693 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-05/1.153, allocations: 8 kB / 0.693 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.518e-05/1.153, allocations: 15.94 kB / 0.693 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2254/1.379, allocations: 17.15 MB / 0.7097 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/1.379, allocations: 5.156 kB / 0.7097 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/1.382, allocations: 0.586 MB / 0.7103 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008391/1.39, allocations: 2.914 MB / 0.7132 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008109/1.391, allocations: 96.58 kB / 0.7132 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/1.403, allocations: 13.73 MB / 0.7267 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002386/1.406, allocations: 4.444 MB / 0.731 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01966/1.425, allocations: 11.35 MB / 0.7421 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.427, allocations: 0.5388 MB / 0.7426 GB, free: 122.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001562/1.429, allocations: 83.91 kB / 0.7427 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003799/1.432, allocations: 335.5 kB / 0.743 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/1.434, allocations: 235.6 kB / 0.7432 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005032/1.434, allocations: 103.9 kB / 0.7433 GB, free: 121.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005321/1.439, allocations: 3.167 MB / 0.7464 GB, free: 118.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.439, allocations: 0 / 0.7464 GB, free: 118.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008592/1.448, allocations: 1.791 MB / 0.7482 GB, free: 116.4 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.001069/1.449, allocations: 243.9 kB / 0.7484 GB, free: 116.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0199/1.469, allocations: 10.69 MB / 0.7588 GB, free: 105.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.469, allocations: 0 / 0.7588 GB, free: 105.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009478/1.479, allocations: 5.115 MB / 0.7638 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0103/1.489, allocations: 0.6296 MB / 0.7644 GB, free: 99.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02609/1.515, allocations: 18.91 MB / 0.7829 GB, free: 80.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005773/1.521, allocations: 4.298 MB / 0.7871 GB, free: 76.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007613/1.528, allocations: 2.556 MB / 0.7896 GB, free: 73.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.53, allocations: 375.3 kB / 0.79 GB, free: 73.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.011e-06/1.53, allocations: 0 / 0.79 GB, free: 73.23 MB / 446.1 MB Notification: Performance of Templates: time 0.2699/1.8, allocations: 69.78 MB / 0.8581 GB, free: 135.4 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)