Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.00117/0.00117, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001699/0.001699, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.000729/0.0007291, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2985, allocations: 47.59 MB / 326.5 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001514/0.3, allocations: 1.314 MB / 327.8 MB, free: 412 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007031/0.3008, allocations: 496.7 kB / 328.3 MB, free: 20 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.3008, allocations: 0 / 328.3 MB, free: 20 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.3009, allocations: 11.48 kB / 328.3 MB, free: 12 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.301, allocations: 27.27 kB / 328.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.3012, allocations: 19.52 kB / 328.3 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.3013, allocations: 97.23 kB / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3014, allocations: 32.62 kB / 328.5 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.3015, allocations: 26.16 kB / 328.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.3016, allocations: 32.31 kB / 328.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3016, allocations: 8.844 kB / 328.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.3017, allocations: 12.16 kB / 328.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.3017, allocations: 18.34 kB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.3018, allocations: 43.02 kB / 328.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.3019, allocations: 72.98 kB / 328.7 MB, free: 15.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.302, allocations: 0 / 328.7 MB, free: 15.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.302, allocations: 0 / 328.7 MB, free: 15.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.302, allocations: 1.031 kB / 328.7 MB, free: 15.75 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.0004504/0.3024, allocations: 367.8 kB / 329 MB, free: 15.37 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3025, allocations: 9.719 kB / 329 MB, free: 15.37 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.3026, allocations: 14.5 kB / 329 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3028, allocations: 169.9 kB / 329.2 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.3028, allocations: 10.67 kB / 329.2 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.3028, allocations: 9.531 kB / 329.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.303, allocations: 79.52 kB / 329.3 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.303, allocations: 9.109 kB / 329.3 MB, free: 15.08 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.303, allocations: 4 kB / 329.3 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.303, allocations: 2.375 kB / 329.3 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.3032, allocations: 55.95 kB / 329.4 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.3039, allocations: 394.1 kB / 329.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.304, allocations: 74.73 kB / 329.8 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.3041, allocations: 35.44 kB / 329.9 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.3041, allocations: 1.5 kB / 329.9 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3041, allocations: 35.91 kB / 329.9 MB, free: 14.56 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.3041, allocations: 0 / 329.9 MB, free: 14.56 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002044/0.3043, allocations: 82.94 kB / 330 MB, free: 14.5 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.3044, allocations: 56.78 kB / 330 MB, free: 14.44 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.3045, allocations: 109.5 kB / 330.2 MB, free: 14.33 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3045, allocations: 27.02 kB / 330.2 MB, free: 14.3 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.3046, allocations: 102.7 kB / 330.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3046, allocations: 31.11 kB / 330.3 MB, free: 14.17 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.3046, allocations: 1 kB / 330.3 MB, free: 14.17 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3047, allocations: 319.9 kB / 330.6 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.3048, allocations: 23.48 kB / 330.6 MB, free: 13.84 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.3049, allocations: 53.22 kB / 330.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/0.3049, allocations: 26.28 kB / 330.7 MB, free: 13.78 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.3049, allocations: 0 / 330.7 MB, free: 13.78 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001511/0.3051, allocations: 100.6 kB / 330.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3051, allocations: 5.469 kB / 330.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3051, allocations: 0.9688 kB / 330.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3051, allocations: 1.188 kB / 330.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3053, allocations: 28.55 kB / 330.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3053, allocations: 1.188 kB / 330.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.3054, allocations: 7.438 kB / 330.9 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3054, allocations: 4 kB / 330.9 MB, free: 13.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.981e-05/0.3055, allocations: 128.9 kB / 331 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3055, allocations: 18.77 kB / 331 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.3055, allocations: 9.625 kB / 331 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3055, allocations: 1.625 kB / 331 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3056, allocations: 4 kB / 331 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3056, allocations: 0 / 331 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.3058, allocations: 194 kB / 331.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3058, allocations: 1.188 kB / 331.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.3059, allocations: 15.59 kB / 331.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.3059, allocations: 5.047 kB / 331.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3059, allocations: 256 / 331.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3059, allocations: 5.281 kB / 331.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3059, allocations: 0 / 331.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.3062, allocations: 203.7 kB / 331.4 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.3062, allocations: 86.84 kB / 331.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.3062, allocations: 1.25 kB / 331.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/0.3063, allocations: 5.344 kB / 331.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.3063, allocations: 2.906 kB / 331.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.3063, allocations: 0.9375 kB / 331.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.188e-05/0.3064, allocations: 88.3 kB / 331.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3064, allocations: 0 / 331.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000237/0.3066, allocations: 18.28 kB / 331.6 MB, free: 12.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000111/0.3068, allocations: 100.7 kB / 331.7 MB, free: 12.85 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.3069, allocations: 56.94 kB / 331.8 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3069, allocations: 0 / 331.8 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 3.681e-05/0.3069, allocations: 27.33 kB / 331.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3072, allocations: 11.2 kB / 331.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/0.3079, allocations: 387.3 kB / 332.2 MB, free: 12.48 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3082, allocations: 0.6948 MB / 332.9 MB, free: 11.78 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.804e-05/0.3082, allocations: 11.33 kB / 332.9 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.3082, allocations: 11.12 kB / 332.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3082, allocations: 0 / 332.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of Templates: time 0.002642/0.3109, allocations: 0.5621 MB / 333.5 MB, free: 11.48 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1)