Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002711/0.00271, allocations: 346.8 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.472/3.472, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003483/0.003483, allocations: 222.1 kB / 397.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4902/0.4902, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005532/0.0005537, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08245/0.08304, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.135, allocations: 290.8 MB / 0.8907 GB, free: 9.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/1.136, allocations: 95.02 kB / 0.8908 GB, free: 9.934 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8867/2.023, allocations: 150 MB / 1.037 GB, free: 49.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/2.023, allocations: 0 / 1.037 GB, free: 49.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.791e-05/2.023, allocations: 23.94 kB / 1.037 GB, free: 49.53 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003263/2.026, allocations: 1.133 MB / 1.038 GB, free: 48.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/2.026, allocations: 8.031 kB / 1.038 GB, free: 48.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00081/2.027, allocations: 118.9 kB / 1.039 GB, free: 48.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/2.029, allocations: 0.6387 MB / 1.039 GB, free: 47.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/2.029, allocations: 252.2 kB / 1.039 GB, free: 47.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/2.029, allocations: 79.98 kB / 1.04 GB, free: 47.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/2.032, allocations: 1.276 MB / 1.041 GB, free: 45.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/2.032, allocations: 3.938 kB / 1.041 GB, free: 45.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/2.032, allocations: 47.98 kB / 1.041 GB, free: 45.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-05/2.033, allocations: 41.23 kB / 1.041 GB, free: 45.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/2.035, allocations: 0.926 MB / 1.042 GB, free: 44.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009241/2.044, allocations: 6.526 MB / 1.048 GB, free: 37.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/2.045, allocations: 289.6 kB / 1.048 GB, free: 37.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/2.046, allocations: 149.4 kB / 1.049 GB, free: 37.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003492/2.049, allocations: 3.039 MB / 1.052 GB, free: 33.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/2.049, allocations: 30.56 kB / 1.052 GB, free: 33.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 3.196e-06/2.049, allocations: 7.938 kB / 1.052 GB, free: 33.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002695/2.052, allocations: 0.9106 MB / 1.052 GB, free: 32.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/2.052, allocations: 55.41 kB / 1.052 GB, free: 32.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/2.053, allocations: 0.7972 MB / 1.053 GB, free: 31.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.523e-05/2.053, allocations: 29.7 kB / 1.053 GB, free: 31.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/2.054, allocations: 0.6356 MB / 1.054 GB, free: 31.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.142e-05/2.054, allocations: 102.7 kB / 1.054 GB, free: 31.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/2.054, allocations: 28 kB / 1.054 GB, free: 31.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/2.054, allocations: 386.8 kB / 1.054 GB, free: 30.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/2.055, allocations: 230.5 kB / 1.055 GB, free: 30.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009156/2.055, allocations: 1.041 MB / 1.056 GB, free: 29.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/2.056, allocations: 455.4 kB / 1.056 GB, free: 28.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/2.056, allocations: 8 kB / 1.056 GB, free: 28.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002485/2.059, allocations: 1.238 MB / 1.057 GB, free: 27.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/2.059, allocations: 20.25 kB / 1.057 GB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/2.059, allocations: 32 kB / 1.057 GB, free: 27.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-05/2.059, allocations: 43.95 kB / 1.057 GB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/2.06, allocations: 295.4 kB / 1.058 GB, free: 27.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.104e-05/2.061, allocations: 59.77 kB / 1.058 GB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/2.062, allocations: 79.83 kB / 1.058 GB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/2.062, allocations: 80 kB / 1.058 GB, free: 26.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0005525/2.062, allocations: 334.7 kB / 1.058 GB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/2.063, allocations: 79.05 kB / 1.058 GB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008325/2.063, allocations: 347.4 kB / 1.059 GB, free: 26.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/2.063, allocations: 11.95 kB / 1.059 GB, free: 26.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/2.063, allocations: 0 / 1.059 GB, free: 26.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/2.063, allocations: 0 / 1.059 GB, free: 26.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/2.065, allocations: 0.8943 MB / 1.059 GB, free: 25.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/2.065, allocations: 0 / 1.059 GB, free: 25.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/2.066, allocations: 55.91 kB / 1.06 GB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/2.066, allocations: 7.953 kB / 1.06 GB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/2.066, allocations: 12 kB / 1.06 GB, free: 25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/2.066, allocations: 0 / 1.06 GB, free: 25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.066, allocations: 0 / 1.06 GB, free: 25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/2.067, allocations: 0.5214 MB / 1.06 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/2.067, allocations: 172.1 kB / 1.06 GB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/2.068, allocations: 7.953 kB / 1.06 GB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007769/2.068, allocations: 16 kB / 1.06 GB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/2.068, allocations: 24.03 kB / 1.06 GB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.898e-05/2.068, allocations: 15.98 kB / 1.06 GB, free: 24.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001161/2.07, allocations: 495 kB / 1.061 GB, free: 23.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.07, allocations: 4 kB / 1.061 GB, free: 23.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0025/2.072, allocations: 283.9 kB / 1.061 GB, free: 23.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001098/2.073, allocations: 387.4 kB / 1.061 GB, free: 23.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001799/2.075, allocations: 0.6228 MB / 1.062 GB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/2.075, allocations: 0 / 1.062 GB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/2.076, allocations: 117.4 kB / 1.062 GB, free: 22.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/2.079, allocations: 258.8 kB / 1.062 GB, free: 22.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/2.083, allocations: 1.697 MB / 1.064 GB, free: 20.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01197/2.095, allocations: 1.012 MB / 1.065 GB, free: 19.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004455/2.1, allocations: 291.4 kB / 1.065 GB, free: 19.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/2.1, allocations: 63.42 kB / 1.065 GB, free: 18.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/2.1, allocations: 0 / 1.065 GB, free: 18.98 MB / 426.7 MB Notification: Performance of Templates: time 0.074/2.174, allocations: 11.65 MB / 1.077 GB, free: 7.406 MB / 426.7 MB