Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009082/0.0009088, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006546/0.006546, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.917/1.917, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0005006/0.0005005, allocations: 15.98 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2616, allocations: 47.59 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001687/0.2633, allocations: 1.338 MB / 328.4 MB, free: 356 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.000798/0.2642, allocations: 0.5173 MB / 328.9 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.2642, allocations: 1.156 kB / 328.9 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.2643, allocations: 8.953 kB / 328.9 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.2643, allocations: 24.19 kB / 328.9 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.2645, allocations: 20.28 kB / 328.9 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.2647, allocations: 91.8 kB / 329 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.2648, allocations: 35.56 kB / 329.1 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.155e-05/0.2649, allocations: 31.22 kB / 329.1 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.714e-05/0.265, allocations: 37.81 kB / 329.1 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.265, allocations: 4.75 kB / 329.1 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.2651, allocations: 10.69 kB / 329.1 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.2651, allocations: 14.25 kB / 329.2 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.2652, allocations: 66.09 kB / 329.2 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.2653, allocations: 97.75 kB / 329.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.2654, allocations: 3.984 kB / 329.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2654, allocations: 0 / 329.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.2654, allocations: 4 kB / 329.3 MB, free: 15.63 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004409/0.2658, allocations: 360.6 kB / 329.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.2659, allocations: 8.906 kB / 329.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.266, allocations: 11.91 kB / 329.7 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.2661, allocations: 166.7 kB / 329.9 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.2662, allocations: 11.94 kB / 329.9 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.2662, allocations: 18.33 kB / 329.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.2664, allocations: 80.11 kB / 330 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2664, allocations: 4 kB / 330 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.2665, allocations: 5.188 kB / 330 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2665, allocations: 3 kB / 330 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.2666, allocations: 50.84 kB / 330 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.2673, allocations: 407.8 kB / 330.4 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.2674, allocations: 69.95 kB / 330.5 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.2675, allocations: 32.58 kB / 330.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.2675, allocations: 5.312 kB / 330.5 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.2676, allocations: 34.7 kB / 330.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.2676, allocations: 1.188 kB / 330.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002178/0.2678, allocations: 87.58 kB / 330.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.2678, allocations: 56.34 kB / 330.7 MB, free: 14.32 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.268, allocations: 110.2 kB / 330.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.268, allocations: 25.7 kB / 330.8 MB, free: 14.18 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.2681, allocations: 103 kB / 330.9 MB, free: 14.08 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.2681, allocations: 27.44 kB / 331 MB, free: 14.06 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.2681, allocations: 25.27 kB / 331 MB, free: 14.03 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.2683, allocations: 312.5 kB / 331.3 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.383e-05/0.2683, allocations: 23.39 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.578e-05/0.2684, allocations: 49.44 kB / 331.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.645e-05/0.2685, allocations: 66.02 kB / 331.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2685, allocations: 0 / 331.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001532/0.2686, allocations: 105.3 kB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2687, allocations: 4.375 kB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2687, allocations: 5.281 kB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2687, allocations: 5.031 kB / 331.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2688, allocations: 24.47 kB / 331.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2688, allocations: 5.094 kB / 331.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.2689, allocations: 15.86 kB / 331.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.2689, allocations: 8 kB / 331.6 MB, free: 13.52 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.2691, allocations: 113.3 kB / 331.7 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.2691, allocations: 3.312 kB / 331.7 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.2692, allocations: 12.38 kB / 331.7 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2692, allocations: 5.719 kB / 331.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2692, allocations: 0 / 331.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.2692, allocations: 0.9375 kB / 331.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.2694, allocations: 202.4 kB / 331.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2694, allocations: 0 / 331.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.2695, allocations: 20.92 kB / 332 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2695, allocations: 3.938 kB / 332 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2695, allocations: 1 kB / 332 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2695, allocations: 3.938 kB / 332 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2696, allocations: 1.188 kB / 332 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.2698, allocations: 194.9 kB / 332.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.2698, allocations: 82.98 kB / 332.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.2698, allocations: 0.875 kB / 332.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.475e-05/0.2699, allocations: 6.344 kB / 332.2 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.2699, allocations: 10.23 kB / 332.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.2699, allocations: 5.25 kB / 332.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.463e-05/0.27, allocations: 84.41 kB / 332.3 MB, free: 12.78 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.27, allocations: 0 / 332.3 MB, free: 12.78 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.2703, allocations: 22.88 kB / 332.4 MB, free: 12.78 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001333/0.2705, allocations: 91.97 kB / 332.5 MB, free: 12.69 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.2706, allocations: 70.03 kB / 332.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2706, allocations: 0 / 332.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 3.561e-05/0.2707, allocations: 20.23 kB / 332.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.271, allocations: 6.531 kB / 332.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006664/0.2717, allocations: 399.6 kB / 332.9 MB, free: 12.31 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.2719, allocations: 0.6957 MB / 333.6 MB, free: 11.61 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.605e-05/0.272, allocations: 7.234 kB / 333.6 MB, free: 11.6 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.272, allocations: 11.12 kB / 333.7 MB, free: 11.59 MB / 270.1 MB Notification: Performance of SimCode: time 3.2e-07/0.272, allocations: 0 / 333.7 MB, free: 11.59 MB / 270.1 MB Notification: Performance of Templates: time 0.00307/0.2751, allocations: 0.5865 MB / 334.2 MB, free: 11.3 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1)