Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.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.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003901/0.003905, allocations: 348 kB / 15.94 MB, free: 6.215 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.936/3.936, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.00571/0.00571, allocations: 230.1 kB / 397.9 MB, free: 4.965 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.5908/0.5908, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004846, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 48.71 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4596/0.5609, allocations: 75.88 MB / 0.6808 GB, free: 36.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.5612, allocations: 79.95 kB / 0.6809 GB, free: 36.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02184/0.5831, allocations: 5.256 MB / 0.6861 GB, free: 31.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5832, allocations: 0 / 0.6861 GB, free: 31.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.5832, allocations: 0 / 0.6861 GB, free: 31.61 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.0005368/0.5837, allocations: 421.4 kB / 0.6865 GB, free: 31.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5838, allocations: 8.031 kB / 0.6865 GB, free: 31.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.5838, allocations: 7.906 kB / 0.6865 GB, free: 31.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.584, allocations: 174.9 kB / 0.6866 GB, free: 30.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.584, allocations: 7.938 kB / 0.6866 GB, free: 30.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.584, allocations: 7.438 kB / 0.6867 GB, free: 30.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.5842, allocations: 68.67 kB / 0.6867 GB, free: 30.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5842, allocations: 1.344 kB / 0.6867 GB, free: 30.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.5842, allocations: 0 / 0.6867 GB, free: 30.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5842, allocations: 0 / 0.6867 GB, free: 30.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.5844, allocations: 55.97 kB / 0.6868 GB, free: 30.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.5846, allocations: 206.2 kB / 0.687 GB, free: 30.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.5847, allocations: 57.47 kB / 0.687 GB, free: 30.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.5848, allocations: 40.84 kB / 0.6871 GB, free: 30.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.287e-05/0.5849, allocations: 19.98 kB / 0.6871 GB, free: 30.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.5849, allocations: 30.56 kB / 0.6871 GB, free: 30.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.585, allocations: 2.031 kB / 0.6871 GB, free: 30.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.03248/0.6174, allocations: 1.325 MB / 0.6884 GB, free: 29.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.6175, allocations: 53.22 kB / 0.6885 GB, free: 29.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.6177, allocations: 130.8 kB / 0.6886 GB, free: 28.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.6177, allocations: 29.7 kB / 0.6886 GB, free: 28.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.6178, allocations: 84.38 kB / 0.6887 GB, free: 28.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.6178, allocations: 44.67 kB / 0.6887 GB, free: 28.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.6179, allocations: 7.938 kB / 0.6887 GB, free: 28.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.618, allocations: 318.8 kB / 0.689 GB, free: 28.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/0.6185, allocations: 99.17 kB / 0.6891 GB, free: 28.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/0.619, allocations: 89.39 kB / 0.6892 GB, free: 28.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006019/0.6196, allocations: 95.5 kB / 0.6893 GB, free: 28.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6196, allocations: 1.875 kB / 0.6893 GB, free: 28.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001262/0.6209, allocations: 245.4 kB / 0.6896 GB, free: 27.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.621, allocations: 7.938 kB / 0.6896 GB, free: 27.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.621, allocations: 0 / 0.6896 GB, free: 27.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.621, allocations: 2.906 kB / 0.6896 GB, free: 27.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.6216, allocations: 35.97 kB / 0.6896 GB, free: 27.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.6216, allocations: 3.938 kB / 0.6896 GB, free: 27.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.622, allocations: 18.11 kB / 0.6896 GB, free: 27.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.6221, allocations: 11.94 kB / 0.6896 GB, free: 27.79 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.0001264/0.6222, allocations: 125.1 kB / 0.6897 GB, free: 27.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.6222, allocations: 7.906 kB / 0.6898 GB, free: 27.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.6237, allocations: 281.2 kB / 0.69 GB, free: 27.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.6237, allocations: 0 / 0.69 GB, free: 27.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.6237, allocations: 3.984 kB / 0.69 GB, free: 27.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.6238, allocations: 7.562 kB / 0.69 GB, free: 27.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.6266, allocations: 0.6795 MB / 0.6907 GB, free: 26.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.6267, allocations: 0 / 0.6907 GB, free: 26.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.6272, allocations: 39.91 kB / 0.6907 GB, free: 26.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.6272, allocations: 4 kB / 0.6907 GB, free: 26.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.6272, allocations: 0 / 0.6907 GB, free: 26.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.6273, allocations: 7.953 kB / 0.6907 GB, free: 26.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6273, allocations: 0 / 0.6907 GB, free: 26.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.6285, allocations: 358 kB / 0.6911 GB, free: 26.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.6287, allocations: 101 kB / 0.6912 GB, free: 26.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.6287, allocations: 4 kB / 0.6912 GB, free: 26.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.6292, allocations: 11.98 kB / 0.6912 GB, free: 26.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.6292, allocations: 15.94 kB / 0.6912 GB, free: 26.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.6293, allocations: 11.98 kB / 0.6912 GB, free: 26.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.238e-05/0.6293, allocations: 99.06 kB / 0.6913 GB, free: 25.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6293, allocations: 4 kB / 0.6913 GB, free: 25.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007716/0.6301, allocations: 175.8 kB / 0.6915 GB, free: 25.79 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.0008521/0.631, allocations: 262.5 kB / 0.6917 GB, free: 25.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.6321, allocations: 211.7 kB / 0.6919 GB, free: 25.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6322, allocations: 0 / 0.6919 GB, free: 25.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005512/0.6327, allocations: 112.1 kB / 0.6921 GB, free: 25.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.6332, allocations: 19.98 kB / 0.6921 GB, free: 25.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.6356, allocations: 412.1 kB / 0.6925 GB, free: 24.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.6358, allocations: 0.6965 MB / 0.6931 GB, free: 24.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003539/0.6362, allocations: 42.42 kB / 0.6932 GB, free: 24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.6364, allocations: 19.42 kB / 0.6932 GB, free: 23.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.6364, allocations: 0 / 0.6932 GB, free: 23.98 MB / 362.7 MB Notification: Performance of Templates: time 0.01649/0.6529, allocations: 7.248 MB / 0.7003 GB, free: 16.84 MB / 362.7 MB