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.001166/0.001166, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001149/0.001149, allocations: 196.3 kB / 16.26 MB, free: 6.621 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.382/1.382, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.001123/0.001123, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.227, allocations: 46.62 MB / 324.8 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.05749/0.2846, allocations: 60.61 MB / 385.5 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03365/0.3183, allocations: 12.07 MB / 397.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01503/0.3334, allocations: 255.4 kB / 397.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006931/0.3404, allocations: 3.307 MB / 401.1 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0065/0.3469, allocations: 2.218 MB / 403.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.3489, allocations: 0.9401 MB / 404.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007187/0.3561, allocations: 6.102 MB / 410.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005148/0.3613, allocations: 4.855 MB / 415.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.3646, allocations: 2.215 MB / 417.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004212/0.3688, allocations: 3.302 MB / 420.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.3699, allocations: 444 kB / 421.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.3728, allocations: 1.365 MB / 422.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004029/0.3768, allocations: 2.778 MB / 425.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005068/0.3819, allocations: 3.153 MB / 428.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.3939, allocations: 9.111 MB / 437.6 MB, free: 2.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.3939, allocations: 0 / 437.6 MB, free: 2.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.669e-06/0.3939, allocations: 0 / 437.6 MB, free: 2.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003563/0.3943, allocations: 3.938 kB / 437.6 MB, free: 2.941 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.01593/0.4102, allocations: 6.881 MB / 444.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/0.4103, allocations: 12.03 kB / 444.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.4212, allocations: 2.609 MB / 447.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007296/0.4285, allocations: 3.347 MB / 450.4 MB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.4289, allocations: 356.8 kB / 450.8 MB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/0.4309, allocations: 0.6711 MB / 451.4 MB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2264/0.6573, allocations: 17.4 MB / 468.8 MB, free: 106.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001513/0.6575, allocations: 60.62 kB / 468.9 MB, free: 106.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006433/0.6582, allocations: 217.2 kB / 469.1 MB, free: 106.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003476/0.6617, allocations: 2.854 MB / 472 MB, free: 105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02898/0.6906, allocations: 15.27 MB / 487.2 MB, free: 90.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06248/0.7532, allocations: 58.92 MB / 0.5333 GB, free: 30.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01501/0.7682, allocations: 7.138 MB / 0.5403 GB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00348/0.7717, allocations: 3.246 MB / 0.5435 GB, free: 19.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01742/0.7892, allocations: 14.47 MB / 0.5576 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.7893, allocations: 68.56 kB / 0.5577 GB, free: 4.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=289): time 5.31e-06/0.7893, allocations: 0 / 0.5577 GB, free: 4.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=321): time 0.07239/0.8617, allocations: 26.11 MB / 0.5832 GB, free: 10.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003815/0.8655, allocations: 4.865 MB / 0.5879 GB, free: 4.918 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008091/0.8737, allocations: 5.124 MB / 0.5929 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009721/0.8747, allocations: 73.69 kB / 0.593 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003393/0.8781, allocations: 4.175 MB / 0.5971 GB, free: 11.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001861/0.8799, allocations: 1.249 MB / 0.5983 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002531/0.8825, allocations: 1.774 MB / 0.6 GB, free: 8.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.8826, allocations: 301.1 kB / 0.6003 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005727/0.8883, allocations: 3.652 MB / 0.6039 GB, free: 4.477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2096/1.098, allocations: 8.624 MB / 0.6123 GB, free: 137.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0169/1.115, allocations: 13.03 MB / 0.625 GB, free: 128.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003799/1.115, allocations: 51.12 kB / 0.6251 GB, free: 128.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.04412/1.159, allocations: 17.04 MB / 0.6417 GB, free: 123.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.16, allocations: 83.56 kB / 0.6418 GB, free: 123.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02705/1.187, allocations: 9.715 MB / 0.6513 GB, free: 115.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02718/1.214, allocations: 6.16 MB / 0.6573 GB, free: 109.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007387/1.221, allocations: 2.055 MB / 0.6593 GB, free: 107.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03205/1.253, allocations: 19.32 MB / 0.6782 GB, free: 87.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/1.266, allocations: 0.7137 MB / 0.6789 GB, free: 86.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002127/1.268, allocations: 0.526 MB / 0.6794 GB, free: 85.86 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.007126/1.275, allocations: 2.74 MB / 0.6821 GB, free: 83.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/1.277, allocations: 485.8 kB / 0.6825 GB, free: 82.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/1.29, allocations: 7.394 MB / 0.6898 GB, free: 75.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01035/1.3, allocations: 6.588 MB / 0.6962 GB, free: 68.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.471e-05/1.3, allocations: 4 kB / 0.6962 GB, free: 68.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.202e-05/1.3, allocations: 15.95 kB / 0.6962 GB, free: 68.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02593/1.326, allocations: 17.17 MB / 0.713 GB, free: 51.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.14e-05/1.326, allocations: 11.94 kB / 0.713 GB, free: 51.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003592/1.33, allocations: 0.5812 MB / 0.7136 GB, free: 50.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01057/1.34, allocations: 2.92 MB / 0.7164 GB, free: 48.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000847/1.341, allocations: 95.77 kB / 0.7165 GB, free: 47.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/1.352, allocations: 14.64 MB / 0.7308 GB, free: 32.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002177/1.355, allocations: 4.711 MB / 0.7354 GB, free: 27.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/1.373, allocations: 11.34 MB / 0.7465 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/1.375, allocations: 0.5338 MB / 0.747 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008214/1.376, allocations: 79.97 kB / 0.7471 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/1.378, allocations: 315.5 kB / 0.7474 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006078/1.379, allocations: 245.4 kB / 0.7476 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002299/1.379, allocations: 99.95 kB / 0.7477 GB, free: 14.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003778/1.383, allocations: 3.171 MB / 0.7508 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.383, allocations: 0 / 0.7508 GB, free: 11.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006926/1.39, allocations: 1.794 MB / 0.7525 GB, free: 9.758 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.0005434/1.39, allocations: 250.6 kB / 0.7528 GB, free: 9.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.1959/1.586, allocations: 14.01 MB / 0.7665 GB, free: 148.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/1.586, allocations: 1.281 kB / 0.7665 GB, free: 148.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01052/1.597, allocations: 5.135 MB / 0.7715 GB, free: 146.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005024/1.602, allocations: 0.6469 MB / 0.7721 GB, free: 146.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02534/1.627, allocations: 18.48 MB / 0.7902 GB, free: 137.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004668/1.632, allocations: 4.295 MB / 0.7944 GB, free: 136.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006333/1.638, allocations: 2.558 MB / 0.7969 GB, free: 135.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.64, allocations: 375.8 kB / 0.7972 GB, free: 135.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/1.64, allocations: 0 / 0.7972 GB, free: 135.9 MB / 446.1 MB Notification: Performance of Templates: time 0.1053/1.745, allocations: 73.9 MB / 0.8694 GB, free: 65.53 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)