Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005625/0.005632, allocations: 360.1 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.083/4.083, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003588/0.003587, allocations: 244.2 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5638/0.5638, allocations: 80.02 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004668, allocations: 16 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.106, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.5762, allocations: 82.26 MB / 0.7604 GB, free: 3.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.5765, allocations: 86.14 kB / 0.7605 GB, free: 3.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02203/0.5986, allocations: 5.275 MB / 0.7656 GB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5986, allocations: 0 / 0.7656 GB, free: 14.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.5987, allocations: 0 / 0.7656 GB, free: 14.52 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006264/0.5993, allocations: 417.6 kB / 0.766 GB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.5994, allocations: 15.97 kB / 0.7661 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.5994, allocations: 3.906 kB / 0.7661 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.5996, allocations: 175 kB / 0.7662 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5997, allocations: 0.875 kB / 0.7662 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.5997, allocations: 7.562 kB / 0.7662 GB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.5999, allocations: 67.8 kB / 0.7663 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5999, allocations: 3.953 kB / 0.7663 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5999, allocations: 3.438 kB / 0.7663 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.6, allocations: 4 kB / 0.7663 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.6001, allocations: 52.53 kB / 0.7664 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.6004, allocations: 195.7 kB / 0.7666 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.6005, allocations: 52.69 kB / 0.7666 GB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.6006, allocations: 43.47 kB / 0.7666 GB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.605e-05/0.6007, allocations: 19.86 kB / 0.7667 GB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.6008, allocations: 42 kB / 0.7667 GB, free: 13.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.6008, allocations: 4 kB / 0.7667 GB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.03236/0.6331, allocations: 1.318 MB / 0.768 GB, free: 12.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.6332, allocations: 55.41 kB / 0.768 GB, free: 12.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.6334, allocations: 130.7 kB / 0.7682 GB, free: 11.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.6335, allocations: 29.02 kB / 0.7682 GB, free: 11.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.6336, allocations: 90.81 kB / 0.7683 GB, free: 11.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.177e-05/0.6336, allocations: 39.05 kB / 0.7683 GB, free: 11.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.6337, allocations: 3.375 kB / 0.7683 GB, free: 11.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6338, allocations: 322.6 kB / 0.7686 GB, free: 11.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.6344, allocations: 91.27 kB / 0.7687 GB, free: 11.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.635, allocations: 88.58 kB / 0.7688 GB, free: 11.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/0.6356, allocations: 97.27 kB / 0.7689 GB, free: 11.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6356, allocations: 0 / 0.7689 GB, free: 11.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001342/0.637, allocations: 246.5 kB / 0.7691 GB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.637, allocations: 7.953 kB / 0.7691 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.637, allocations: 4.469 kB / 0.7691 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.6371, allocations: 0 / 0.7691 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/0.6377, allocations: 38.91 kB / 0.7692 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.6377, allocations: 4 kB / 0.7692 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.6381, allocations: 11.98 kB / 0.7692 GB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.6382, allocations: 7.984 kB / 0.7692 GB, free: 11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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.0001667/0.6383, allocations: 125.3 kB / 0.7693 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.6384, allocations: 7.906 kB / 0.7693 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.64, allocations: 291.7 kB / 0.7696 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.64, allocations: 8 kB / 0.7696 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.64, allocations: 0 / 0.7696 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.6401, allocations: 3.984 kB / 0.7696 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.6431, allocations: 0.6746 MB / 0.7703 GB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6431, allocations: 0 / 0.7703 GB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.6437, allocations: 47.31 kB / 0.7703 GB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.6437, allocations: 4 kB / 0.7703 GB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.6437, allocations: 4 kB / 0.7703 GB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.6437, allocations: 0 / 0.7703 GB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.6438, allocations: 7.984 kB / 0.7703 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.6451, allocations: 357.1 kB / 0.7707 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.6453, allocations: 99.61 kB / 0.7708 GB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.6453, allocations: 7 kB / 0.7708 GB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.6458, allocations: 15.98 kB / 0.7708 GB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.6458, allocations: 11.98 kB / 0.7708 GB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.6459, allocations: 7.438 kB / 0.7708 GB, free: 9.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.247e-05/0.646, allocations: 104.7 kB / 0.7709 GB, free: 9.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.646, allocations: 3.938 kB / 0.7709 GB, free: 9.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008786/0.6469, allocations: 171.3 kB / 0.7711 GB, free: 9.207 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 12 * 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.000953/0.6478, allocations: 254.3 kB / 0.7713 GB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.649, allocations: 216.7 kB / 0.7715 GB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.649, allocations: 0 / 0.7715 GB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005704/0.6496, allocations: 108.4 kB / 0.7716 GB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.6501, allocations: 35.16 kB / 0.7717 GB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.6527, allocations: 406.8 kB / 0.7721 GB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.653, allocations: 0.7004 MB / 0.7727 GB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003596/0.6534, allocations: 40.34 kB / 0.7728 GB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.6536, allocations: 23.36 kB / 0.7728 GB, free: 7.512 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6536, allocations: 0 / 0.7728 GB, free: 7.512 MB / 362.7 MB Notification: Performance of Templates: time 0.01979/0.6734, allocations: 7.241 MB / 0.7799 GB, free: 308 kB / 362.7 MB