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.001443/0.001442, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001678/0.001678, allocations: 177.3 kB / 15.94 MB, free: 228 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.656/1.656, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0005228/0.0005232, allocations: 12 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2813, allocations: 47.59 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001568/0.2829, allocations: 1.268 MB / 327.7 MB, free: 424 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006942/0.2836, allocations: 0.4948 MB / 328.2 MB, free: 24 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.2837, allocations: 2.5 kB / 328.2 MB, free: 24 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.2837, allocations: 5.125 kB / 328.2 MB, free: 20 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.2838, allocations: 27.17 kB / 328.2 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.284, allocations: 24.75 kB / 328.3 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2841, allocations: 76.14 kB / 328.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2843, allocations: 27.58 kB / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.401e-05/0.2843, allocations: 26.61 kB / 328.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.2844, allocations: 37.06 kB / 328.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.2844, allocations: 5.062 kB / 328.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.2845, allocations: 7.844 kB / 328.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.2845, allocations: 14.33 kB / 328.5 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.2846, allocations: 42.86 kB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2847, allocations: 76.84 kB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.2847, allocations: 0 / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2847, allocations: 0 / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.2847, allocations: 1 kB / 328.6 MB, free: 15.77 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.000465/0.2852, allocations: 364.2 kB / 328.9 MB, free: 15.39 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2853, allocations: 8.656 kB / 328.9 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.2854, allocations: 14.52 kB / 329 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.2855, allocations: 177.8 kB / 329.1 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.2856, allocations: 11.67 kB / 329.1 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.2856, allocations: 5.875 kB / 329.1 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.2858, allocations: 82.22 kB / 329.2 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2858, allocations: 4 kB / 329.2 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2859, allocations: 5.219 kB / 329.2 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2859, allocations: 2.25 kB / 329.2 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.286, allocations: 55.7 kB / 329.3 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008016/0.2868, allocations: 394.7 kB / 329.7 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.287, allocations: 74.88 kB / 329.7 MB, free: 14.65 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.287, allocations: 0 / 329.7 MB, free: 14.65 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.2871, allocations: 35.62 kB / 329.8 MB, free: 14.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.2871, allocations: 0 / 329.8 MB, free: 14.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003037/0.2874, allocations: 87.39 kB / 329.9 MB, free: 14.55 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.2875, allocations: 61.38 kB / 329.9 MB, free: 14.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.2876, allocations: 108.5 kB / 330 MB, free: 14.37 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2876, allocations: 26.61 kB / 330.1 MB, free: 14.34 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/0.2877, allocations: 99.36 kB / 330.2 MB, free: 14.24 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.2878, allocations: 35.66 kB / 330.2 MB, free: 14.21 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.2878, allocations: 0 / 330.2 MB, free: 14.21 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.288, allocations: 324.8 kB / 330.5 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.2881, allocations: 19.66 kB / 330.5 MB, free: 13.88 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.2881, allocations: 44.31 kB / 330.6 MB, free: 13.84 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.052e-05/0.2882, allocations: 30.69 kB / 330.6 MB, free: 13.82 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2882, allocations: 0 / 330.6 MB, free: 13.82 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002696/0.2885, allocations: 107.8 kB / 330.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2885, allocations: 9.438 kB / 330.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2885, allocations: 1.031 kB / 330.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2886, allocations: 1.156 kB / 330.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.2887, allocations: 28.8 kB / 330.7 MB, free: 13.74 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2888, allocations: 1.031 kB / 330.7 MB, free: 13.74 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.2888, allocations: 8.094 kB / 330.8 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.2888, allocations: 7.531 kB / 330.8 MB, free: 13.73 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 0.0001051/0.2889, allocations: 117.2 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.289, allocations: 7.281 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.289, allocations: 8.375 kB / 330.9 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.289, allocations: 1.188 kB / 330.9 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2891, allocations: 1.312 kB / 330.9 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.2891, allocations: 7.984 kB / 330.9 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.2893, allocations: 190 kB / 331.1 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2893, allocations: 0.875 kB / 331.1 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.2895, allocations: 28.33 kB / 331.1 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2895, allocations: 3.938 kB / 331.1 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.2895, allocations: 1.25 kB / 331.1 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2895, allocations: 0 / 331.1 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2895, allocations: 1.531 kB / 331.1 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.2898, allocations: 206.5 kB / 331.3 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.2898, allocations: 82.98 kB / 331.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2899, allocations: 5 kB / 331.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-05/0.2899, allocations: 2.281 kB / 331.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.29, allocations: 6.516 kB / 331.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.29, allocations: 1.219 kB / 331.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.237e-05/0.29, allocations: 83.91 kB / 331.5 MB, free: 12.99 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.29, allocations: 0 / 331.5 MB, free: 12.99 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.2903, allocations: 22.81 kB / 331.5 MB, free: 12.98 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.0001086/0.2904, allocations: 104 kB / 331.6 MB, free: 12.88 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.2905, allocations: 53.45 kB / 331.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2905, allocations: 0 / 331.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.2906, allocations: 22.91 kB / 331.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2908, allocations: 14.25 kB / 331.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.2915, allocations: 387.1 kB / 332.1 MB, free: 12.52 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.2918, allocations: 0.6924 MB / 332.8 MB, free: 11.82 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.557e-05/0.2918, allocations: 11.14 kB / 332.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.2918, allocations: 11.84 kB / 332.8 MB, free: 11.8 MB / 270.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2919, allocations: 0 / 332.8 MB, free: 11.8 MB / 270.1 MB Notification: Performance of Templates: time 0.002902/0.2948, allocations: 0.5595 MB / 333.4 MB, free: 11.52 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: