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.001672/0.001672, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002328/0.002328, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.423/1.423, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.001411/0.001411, allocations: 59.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2347, allocations: 46.63 MB / 324.9 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.05675/0.2915, allocations: 60.6 MB / 385.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03114/0.3227, allocations: 12.06 MB / 397.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01274/0.3354, allocations: 255.4 kB / 397.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007538/0.3431, allocations: 3.311 MB / 401.1 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006784/0.3499, allocations: 2.218 MB / 403.3 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.3532, allocations: 0.944 MB / 404.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008917/0.3622, allocations: 6.105 MB / 410.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007247/0.3694, allocations: 4.859 MB / 415.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00417/0.3736, allocations: 2.208 MB / 417.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004978/0.3787, allocations: 3.306 MB / 420.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001808/0.3805, allocations: 444 kB / 421.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.3844, allocations: 1.377 MB / 422.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00426/0.3887, allocations: 2.77 MB / 425.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006465/0.3952, allocations: 3.15 MB / 428.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.4082, allocations: 9.111 MB / 437.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4082, allocations: 0 / 437.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4082, allocations: 0 / 437.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000369/0.4086, allocations: 0 / 437.6 MB, free: 2.949 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.01979/0.4284, allocations: 6.881 MB / 444.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4285, allocations: 12.03 kB / 444.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/0.4401, allocations: 2.613 MB / 447.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00831/0.4485, allocations: 3.347 MB / 450.4 MB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004376/0.4489, allocations: 360.7 kB / 450.8 MB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002769/0.4517, allocations: 0.6634 MB / 451.4 MB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2429/0.6947, allocations: 17.41 MB / 468.8 MB, free: 106.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001714/0.6949, allocations: 61.55 kB / 468.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00086/0.6957, allocations: 225.5 kB / 469.1 MB, free: 106 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003678/0.6994, allocations: 2.838 MB / 472 MB, free: 104.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03037/0.7298, allocations: 15.26 MB / 487.2 MB, free: 90.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06964/0.7995, allocations: 58.93 MB / 0.5333 GB, free: 30.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/0.8155, allocations: 7.138 MB / 0.5403 GB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003877/0.8194, allocations: 3.246 MB / 0.5435 GB, free: 19.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0193/0.8387, allocations: 14.47 MB / 0.5576 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.006e-05/0.8389, allocations: 68.5 kB / 0.5577 GB, free: 4.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=289): time 7.094e-06/0.8389, allocations: 0 / 0.5577 GB, free: 4.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=321): time 0.07285/0.9118, allocations: 26.1 MB / 0.5832 GB, free: 10.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003835/0.9156, allocations: 4.863 MB / 0.5879 GB, free: 4.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00864/0.9243, allocations: 5.121 MB / 0.5929 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001205/0.9256, allocations: 65.7 kB / 0.593 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003693/0.9293, allocations: 4.183 MB / 0.5971 GB, free: 11.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002256/0.9316, allocations: 1.253 MB / 0.5983 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003256/0.9348, allocations: 1.777 MB / 0.6 GB, free: 8.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.935, allocations: 301.1 kB / 0.6003 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006627/0.9416, allocations: 3.648 MB / 0.6039 GB, free: 4.492 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2179/1.16, allocations: 8.624 MB / 0.6123 GB, free: 137.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01976/1.179, allocations: 13.03 MB / 0.625 GB, free: 128.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004749/1.18, allocations: 51.09 kB / 0.6251 GB, free: 128.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.0547/1.235, allocations: 17.04 MB / 0.6417 GB, free: 123.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/1.235, allocations: 79.59 kB / 0.6418 GB, free: 123.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02752/1.262, allocations: 9.712 MB / 0.6513 GB, free: 115.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02648/1.289, allocations: 6.164 MB / 0.6573 GB, free: 109.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006796/1.296, allocations: 2.059 MB / 0.6593 GB, free: 107.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0211/1.317, allocations: 19.31 MB / 0.6782 GB, free: 87.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007917/1.325, allocations: 0.7138 MB / 0.6789 GB, free: 86.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/1.326, allocations: 0.5234 MB / 0.6794 GB, free: 85.88 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 (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.00461/1.331, allocations: 2.741 MB / 0.6821 GB, free: 83.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008617/1.332, allocations: 481.8 kB / 0.6825 GB, free: 83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.344, allocations: 7.394 MB / 0.6897 GB, free: 75.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01056/1.355, allocations: 6.58 MB / 0.6962 GB, free: 68.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.55e-05/1.355, allocations: 8 kB / 0.6962 GB, free: 68.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.091e-05/1.355, allocations: 15.94 kB / 0.6962 GB, free: 68.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02419/1.379, allocations: 17.18 MB / 0.713 GB, free: 51.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-05/1.379, allocations: 11.98 kB / 0.713 GB, free: 51.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/1.382, allocations: 0.5851 MB / 0.7136 GB, free: 50.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007364/1.389, allocations: 2.921 MB / 0.7164 GB, free: 48.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007375/1.39, allocations: 87.94 kB / 0.7165 GB, free: 47.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/1.401, allocations: 14.65 MB / 0.7308 GB, free: 32.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002086/1.403, allocations: 4.706 MB / 0.7354 GB, free: 27.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01824/1.422, allocations: 11.34 MB / 0.7465 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.423, allocations: 0.5299 MB / 0.747 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/1.424, allocations: 79.97 kB / 0.7471 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003833/1.428, allocations: 319.5 kB / 0.7474 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/1.429, allocations: 245.4 kB / 0.7476 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005761/1.43, allocations: 99.95 kB / 0.7477 GB, free: 14.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005478/1.435, allocations: 3.167 MB / 0.7508 GB, free: 11.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.436, allocations: 0 / 0.7508 GB, free: 11.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.009175/1.445, allocations: 1.797 MB / 0.7525 GB, free: 9.766 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 (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.001033/1.446, allocations: 251.7 kB / 0.7528 GB, free: 9.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.2026/1.648, allocations: 14 MB / 0.7665 GB, free: 148.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/1.648, allocations: 9.375 kB / 0.7665 GB, free: 148.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0111/1.66, allocations: 5.134 MB / 0.7715 GB, free: 147 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004879/1.664, allocations: 0.6541 MB / 0.7721 GB, free: 147 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02443/1.689, allocations: 18.48 MB / 0.7902 GB, free: 137.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005074/1.694, allocations: 4.294 MB / 0.7944 GB, free: 136.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006947/1.701, allocations: 2.563 MB / 0.7969 GB, free: 136 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/1.703, allocations: 370.2 kB / 0.7972 GB, free: 136 MB / 446.1 MB Notification: Performance of SimCode: time 2.655e-06/1.703, allocations: 0 / 0.7972 GB, free: 136 MB / 446.1 MB Notification: Performance of Templates: time 0.116/1.818, allocations: 73.91 MB / 0.8694 GB, free: 65.57 MB / 446.1 MB 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)