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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.00139/0.00139, allocations: 187.7 kB / 8.352 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.332/1.332, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001605/0.001605, allocations: 116.8 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.901e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08913/0.08916, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3247/0.4139, allocations: 89.72 MB / 432.3 MB, free: 6.344 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.4141, allocations: 89.5 kB / 432.4 MB, free: 6.297 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4823/0.8964, allocations: 105.6 MB / 0.5254 GB, free: 69.96 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.8964, allocations: 3.156 kB / 0.5254 GB, free: 69.96 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002336/0.8967, allocations: 99.02 kB / 0.5255 GB, free: 69.96 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1913 * Number of variables: 1913 Notification: Performance of Generate backend data structure: time 0.02668/0.9234, allocations: 6.305 MB / 0.5316 GB, free: 67.86 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.9234, allocations: 9.844 kB / 0.5316 GB, free: 67.86 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01663/0.9401, allocations: 3.409 MB / 0.5349 GB, free: 67.5 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01963/0.9597, allocations: 7.489 MB / 0.5423 GB, free: 66.83 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004175/0.9602, allocations: 177.4 kB / 0.5424 GB, free: 66.83 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/0.9628, allocations: 331.4 kB / 0.5427 GB, free: 66.82 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0149/0.9777, allocations: 8.371 MB / 0.5509 GB, free: 66.8 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02464/1.002, allocations: 12.17 MB / 0.5628 GB, free: 63.53 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002378/1.003, allocations: 79.48 kB / 0.5629 GB, free: 63.53 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/1.004, allocations: 36.22 kB / 0.5629 GB, free: 63.53 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002285/1.006, allocations: 1.488 MB / 0.5644 GB, free: 63.51 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0628/1.069, allocations: 62.55 MB / 0.6255 GB, free: 34.84 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004886/1.074, allocations: 4.219 MB / 0.6296 GB, free: 32.71 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002926/1.077, allocations: 2.794 MB / 0.6323 GB, free: 31.55 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/1.092, allocations: 12.04 MB / 0.6441 GB, free: 23.62 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/1.092, allocations: 60.56 kB / 0.6441 GB, free: 23.55 MB / 411.1 MB Notification: Performance of pre-optimization done (n=238): time 5.71e-06/1.092, allocations: 0 / 0.6441 GB, free: 23.55 MB / 411.1 MB Notification: Performance of matching and sorting (n=267): time 0.04442/1.137, allocations: 19.34 MB / 0.663 GB, free: 7.523 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/1.137, allocations: 154.5 kB / 0.6631 GB, free: 7.344 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005873/1.143, allocations: 3.651 MB / 0.6667 GB, free: 4.129 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006771/1.143, allocations: 25.7 kB / 0.6667 GB, free: 4.098 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002643/1.146, allocations: 3.91 MB / 0.6706 GB, free: 0.5391 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2277/1.374, allocations: 1.028 MB / 0.6716 GB, free: 80.86 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008605/1.375, allocations: 3.812 kB / 0.6716 GB, free: 80.86 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0004731/1.375, allocations: 0.6483 MB / 0.6722 GB, free: 80.54 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00397/1.379, allocations: 3.095 MB / 0.6752 GB, free: 80.51 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006638/1.386, allocations: 7.753 MB / 0.6828 GB, free: 74.5 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006561/1.392, allocations: 4.751 MB / 0.6874 GB, free: 74.45 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/1.393, allocations: 50.06 kB / 0.6875 GB, free: 74.45 MB / 411.1 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.02358/1.416, allocations: 12.1 MB / 0.6993 GB, free: 73.95 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/1.416, allocations: 76.44 kB / 0.6994 GB, free: 73.95 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01362/1.43, allocations: 6.197 MB / 0.7054 GB, free: 73.71 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00911/1.439, allocations: 2.823 MB / 0.7082 GB, free: 73.61 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007678/1.447, allocations: 1.954 MB / 0.7101 GB, free: 73.45 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/1.46, allocations: 12.15 MB / 0.7219 GB, free: 66.04 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009423/1.469, allocations: 0.6647 MB / 0.7226 GB, free: 66.04 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001994/1.471, allocations: 0.4936 MB / 0.7231 GB, free: 66.04 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 756 * Number of states: 0 () * Number of discrete variables: 48 (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],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],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1005): * Single equations (assignments): 984 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001541/1.473, allocations: 0.5241 MB / 0.7236 GB, free: 65.76 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008167/1.474, allocations: 410.3 kB / 0.724 GB, free: 65.76 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/1.486, allocations: 6.605 MB / 0.7304 GB, free: 64.48 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01072/1.496, allocations: 5.95 MB / 0.7362 GB, free: 62.89 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.813e-05/1.496, allocations: 7.75 kB / 0.7362 GB, free: 62.89 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.721e-05/1.497, allocations: 13.69 kB / 0.7363 GB, free: 62.89 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02468/1.521, allocations: 14.28 MB / 0.7502 GB, free: 58.21 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.521, allocations: 4.219 kB / 0.7502 GB, free: 58.21 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/1.524, allocations: 0.5045 MB / 0.7507 GB, free: 58.17 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007936/1.532, allocations: 2.832 MB / 0.7535 GB, free: 57.69 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005576/1.532, allocations: 45.41 kB / 0.7535 GB, free: 57.68 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/1.543, allocations: 13.39 MB / 0.7666 GB, free: 48.89 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002519/1.546, allocations: 4.256 MB / 0.7707 GB, free: 44.76 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/1.562, allocations: 10.68 MB / 0.7812 GB, free: 37.83 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.564, allocations: 468 kB / 0.7816 GB, free: 37.37 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007226/1.564, allocations: 34.38 kB / 0.7816 GB, free: 37.34 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/1.567, allocations: 311.4 kB / 0.7819 GB, free: 37.18 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004488/1.568, allocations: 193.7 kB / 0.7821 GB, free: 37.07 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/1.568, allocations: 90.94 kB / 0.7822 GB, free: 36.99 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.003432/1.571, allocations: 2.405 MB / 0.7846 GB, free: 34.9 MB / 411.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.571, allocations: 0 / 0.7846 GB, free: 34.9 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.007006/1.578, allocations: 1.458 MB / 0.786 GB, free: 33.45 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 200 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005767/1.579, allocations: 181.5 kB / 0.7862 GB, free: 33.29 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.01606/1.595, allocations: 9.25 MB / 0.7952 GB, free: 25 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/1.595, allocations: 4 kB / 0.7952 GB, free: 25 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008673/1.604, allocations: 4.743 MB / 0.7998 GB, free: 20.66 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/1.607, allocations: 428.2 kB / 0.8002 GB, free: 20.25 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.628, allocations: 12.05 MB / 0.812 GB, free: 8.27 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003996/1.632, allocations: 4.064 MB / 0.816 GB, free: 4.203 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.226/1.858, allocations: 2.442 MB / 0.8184 GB, free: 62.07 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/1.859, allocations: 315.8 kB / 0.8187 GB, free: 62.07 MB / 411.1 MB Notification: Performance of SimCode: time 7.52e-07/1.859, allocations: 0 / 0.8187 GB, free: 62.07 MB / 411.1 MB Notification: Performance of Templates: time 0.08719/1.946, allocations: 50.83 MB / 0.8683 GB, free: 60.18 MB / 411.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)