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.001365/0.001365, allocations: 108.5 kB / 16.92 MB, free: 5.895 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.002222/0.002222, allocations: 191.3 kB / 17.85 MB, free: 5.195 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.44/1.44, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.001311/0.001311, allocations: 55.92 kB / 280 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1013, allocations: 46.63 MB / 326.6 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01647/0.1178, allocations: 15.19 MB / 341.8 MB, free: 5.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.129, allocations: 4.718 MB / 346.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/0.1322, allocations: 87.75 kB / 346.6 MB, free: 384 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007081/0.1393, allocations: 3.457 MB / 350.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007963/0.1473, allocations: 2.384 MB / 352.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.1502, allocations: 0.9984 MB / 353.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009404/0.1596, allocations: 6.074 MB / 359.5 MB, free: 3.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005761/0.1654, allocations: 4.621 MB / 364.2 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003754/0.1692, allocations: 2.176 MB / 366.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004806/0.174, allocations: 2.986 MB / 369.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.1753, allocations: 447.9 kB / 369.8 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.1786, allocations: 1.354 MB / 371.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002892/0.1815, allocations: 2.72 MB / 373.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004993/0.1865, allocations: 3.118 MB / 376.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2234/0.4099, allocations: 9.048 MB / 386 MB, free: 24.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.41, allocations: 3.797 kB / 386 MB, free: 24.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.41, allocations: 1.312 kB / 386 MB, free: 24.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005339/0.4106, allocations: 0 / 386 MB, free: 24.14 MB / 318.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.02834/0.4389, allocations: 6.885 MB / 392.9 MB, free: 21.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.439, allocations: 13.12 kB / 392.9 MB, free: 21.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.4522, allocations: 2.615 MB / 395.5 MB, free: 21.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009357/0.4616, allocations: 3.341 MB / 398.9 MB, free: 20.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004056/0.462, allocations: 361.7 kB / 399.2 MB, free: 20.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00339/0.4654, allocations: 0.6746 MB / 399.9 MB, free: 20.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04023/0.5057, allocations: 17.4 MB / 417.3 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001815/0.5059, allocations: 58 kB / 417.3 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009828/0.5069, allocations: 218.5 kB / 417.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003692/0.5106, allocations: 2.848 MB / 420.4 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03587/0.5465, allocations: 15.27 MB / 435.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09187/0.6384, allocations: 58.93 MB / 494.6 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01936/0.6578, allocations: 7.134 MB / 0.49 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004797/0.6626, allocations: 3.243 MB / 0.4931 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02363/0.6863, allocations: 14.49 MB / 0.5073 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/0.6864, allocations: 60.56 kB / 0.5073 GB, free: 3.461 MB / 414.1 MB Notification: Performance of pre-optimization done (n=289): time 6.142e-06/0.6864, allocations: 0 / 0.5073 GB, free: 3.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=321): time 0.261/0.9474, allocations: 26.11 MB / 0.5328 GB, free: 149.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003329/0.9508, allocations: 4.86 MB / 0.5376 GB, free: 144.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/0.9622, allocations: 5.138 MB / 0.5426 GB, free: 143 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001263/0.9635, allocations: 76.45 kB / 0.5427 GB, free: 142.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002879/0.9664, allocations: 4.16 MB / 0.5467 GB, free: 139.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001844/0.9682, allocations: 1.254 MB / 0.548 GB, free: 138.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002604/0.9708, allocations: 1.772 MB / 0.5497 GB, free: 138 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.9709, allocations: 305 kB / 0.55 GB, free: 137.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004698/0.9756, allocations: 3.651 MB / 0.5536 GB, free: 136.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006747/0.9824, allocations: 8.623 MB / 0.562 GB, free: 128.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/0.9967, allocations: 13.03 MB / 0.5747 GB, free: 114.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001928/0.9969, allocations: 52 kB / 0.5747 GB, free: 114.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.0456/1.043, allocations: 17.04 MB / 0.5914 GB, free: 97.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.043, allocations: 80.94 kB / 0.5915 GB, free: 97.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02881/1.071, allocations: 9.717 MB / 0.6009 GB, free: 87.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.028/1.1, allocations: 6.169 MB / 0.607 GB, free: 81.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007054/1.107, allocations: 2.056 MB / 0.609 GB, free: 79.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02095/1.128, allocations: 19.31 MB / 0.6278 GB, free: 59.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00969/1.137, allocations: 0.7087 MB / 0.6285 GB, free: 58.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/1.139, allocations: 0.5234 MB / 0.629 GB, free: 57.9 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.005509/1.145, allocations: 2.748 MB / 0.6317 GB, free: 55.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.146, allocations: 485.8 kB / 0.6322 GB, free: 54.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/1.158, allocations: 7.39 MB / 0.6394 GB, free: 47.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01108/1.169, allocations: 6.592 MB / 0.6458 GB, free: 40.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.023e-05/1.169, allocations: 11.31 kB / 0.6459 GB, free: 40.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.432e-05/1.17, allocations: 13.03 kB / 0.6459 GB, free: 40.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03108/1.201, allocations: 17.17 MB / 0.6626 GB, free: 23.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.506e-05/1.201, allocations: 4 kB / 0.6626 GB, free: 23.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002731/1.203, allocations: 0.589 MB / 0.6632 GB, free: 22.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007897/1.211, allocations: 2.916 MB / 0.6661 GB, free: 19.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005852/1.212, allocations: 99.92 kB / 0.6662 GB, free: 19.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2332/1.445, allocations: 14.63 MB / 0.6804 GB, free: 131.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002845/1.448, allocations: 4.704 MB / 0.685 GB, free: 127.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02182/1.47, allocations: 11.35 MB / 0.6961 GB, free: 125.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/1.472, allocations: 0.5322 MB / 0.6966 GB, free: 125.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001708/1.473, allocations: 85.53 kB / 0.6967 GB, free: 125.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003974/1.477, allocations: 317.6 kB / 0.697 GB, free: 125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008655/1.478, allocations: 246.9 kB / 0.6973 GB, free: 125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/1.479, allocations: 106.4 kB / 0.6974 GB, free: 125 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005784/1.484, allocations: 3.161 MB / 0.7004 GB, free: 123.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.51e-07/1.484, allocations: 0 / 0.7004 GB, free: 123.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.01037/1.495, allocations: 1.795 MB / 0.7022 GB, free: 123.8 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.001019/1.496, allocations: 251.4 kB / 0.7024 GB, free: 123.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0257/1.521, allocations: 14 MB / 0.7161 GB, free: 116.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/1.522, allocations: 4 kB / 0.7161 GB, free: 116.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0101/1.532, allocations: 5.142 MB / 0.7211 GB, free: 111.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005723/1.537, allocations: 0.6642 MB / 0.7218 GB, free: 111.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/1.562, allocations: 15.64 MB / 0.7371 GB, free: 97.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004426/1.567, allocations: 4.29 MB / 0.7413 GB, free: 93.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00601/1.573, allocations: 2.56 MB / 0.7438 GB, free: 90.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.574, allocations: 375.3 kB / 0.7441 GB, free: 90.07 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/1.574, allocations: 0 / 0.7441 GB, free: 90.07 MB / 430.1 MB Notification: Performance of Templates: time 0.1145/1.688, allocations: 73.27 MB / 0.8157 GB, free: 16.8 MB / 430.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)