Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.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.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002754/0.002753, allocations: 361.5 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.095/4.095, allocations: 388.9 MB / 405.6 MB, free: 9.645 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.005325/0.005325, allocations: 230.7 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.5532/0.5532, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006251/0.0006257, allocations: 8 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1021, allocations: 54.87 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5159/0.618, allocations: 90.13 MB / 0.7681 GB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005066/0.6186, allocations: 105.7 kB / 0.7682 GB, free: 11.23 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.07391/0.6926, allocations: 11.29 MB / 0.7793 GB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.6927, allocations: 4 kB / 0.7793 GB, free: 1.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.6927, allocations: 4 kB / 0.7793 GB, free: 1.508 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00192/0.6946, allocations: 0.5826 MB / 0.7798 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/0.6947, allocations: 12.03 kB / 0.7798 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.6949, allocations: 27.62 kB / 0.7799 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.6955, allocations: 237.9 kB / 0.7801 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.6955, allocations: 19.66 kB / 0.7801 GB, free: 0.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.6957, allocations: 31.31 kB / 0.7801 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.6975, allocations: 466.7 kB / 0.7806 GB, free: 216 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.6976, allocations: 0 / 0.7806 GB, free: 216 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.6977, allocations: 18.02 kB / 0.7806 GB, free: 208 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.6979, allocations: 36.97 kB / 0.7806 GB, free: 172 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.7003, allocations: 0.5565 MB / 0.7812 GB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004709/0.7051, allocations: 1.329 MB / 0.7825 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.7065, allocations: 278.4 kB / 0.7827 GB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005592/0.7071, allocations: 101.5 kB / 0.7828 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.06e-05/0.7072, allocations: 4 kB / 0.7828 GB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/0.7073, allocations: 46.38 kB / 0.7829 GB, free: 14.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 4.559e-06/0.7073, allocations: 0 / 0.7829 GB, free: 14.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.00182/0.7092, allocations: 341.8 kB / 0.7832 GB, free: 13.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.7093, allocations: 59.34 kB / 0.7833 GB, free: 13.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.7095, allocations: 139 kB / 0.7834 GB, free: 13.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.7096, allocations: 28.83 kB / 0.7834 GB, free: 13.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.7098, allocations: 198.5 kB / 0.7836 GB, free: 13.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.71, allocations: 90.12 kB / 0.7837 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.71, allocations: 11 kB / 0.7837 GB, free: 13.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.7103, allocations: 326.7 kB / 0.784 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.7109, allocations: 90.98 kB / 0.7841 GB, free: 12.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/0.7116, allocations: 178.3 kB / 0.7843 GB, free: 12.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.7123, allocations: 123 kB / 0.7844 GB, free: 12.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.7123, allocations: 4 kB / 0.7844 GB, free: 12.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001372/0.7137, allocations: 328 kB / 0.7847 GB, free: 12.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.7137, allocations: 4 kB / 0.7847 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.7138, allocations: 4 kB / 0.7847 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.7138, allocations: 4 kB / 0.7847 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.715, allocations: 123.1 kB / 0.7849 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.717, allocations: 2.37 MB / 0.7872 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.7175, allocations: 27.5 kB / 0.7872 GB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.7176, allocations: 19.3 kB / 0.7872 GB, free: 9.738 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003663/0.7179, allocations: 173.2 kB / 0.7874 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.7181, allocations: 19.8 kB / 0.7874 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.7197, allocations: 370.2 kB / 0.7877 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.7198, allocations: 11.94 kB / 0.7878 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.7198, allocations: 0 / 0.7878 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.7198, allocations: 3.938 kB / 0.7878 GB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/0.7206, allocations: 343.4 kB / 0.7881 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.7206, allocations: 0 / 0.7881 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.7217, allocations: 106.8 kB / 0.7882 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/0.7217, allocations: 0 / 0.7882 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.7218, allocations: 15.11 kB / 0.7882 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.7239, allocations: 2.361 MB / 0.7905 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7239, allocations: 4.062 kB / 0.7905 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.7253, allocations: 378.5 kB / 0.7909 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.7254, allocations: 100.8 kB / 0.791 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.7255, allocations: 7.688 kB / 0.791 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.7259, allocations: 11.56 kB / 0.791 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.7261, allocations: 23.22 kB / 0.791 GB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.7262, allocations: 12.73 kB / 0.791 GB, free: 5.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.7263, allocations: 100.2 kB / 0.7911 GB, free: 5.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.7263, allocations: 0 / 0.7911 GB, free: 5.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001435/0.7278, allocations: 190 kB / 0.7913 GB, free: 5.613 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.7289, allocations: 271 kB / 0.7916 GB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.7309, allocations: 306.5 kB / 0.7919 GB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.7309, allocations: 0 / 0.7919 GB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.732, allocations: 185.8 kB / 0.792 GB, free: 4.938 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.7326, allocations: 17 kB / 0.792 GB, free: 4.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00751/0.7402, allocations: 0.7062 MB / 0.7927 GB, free: 4.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.7409, allocations: 0.813 MB / 0.7935 GB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008268/0.7418, allocations: 97.73 kB / 0.7936 GB, free: 3.309 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.742, allocations: 26.75 kB / 0.7936 GB, free: 3.285 MB / 378.7 MB Notification: Performance of SimCode: time 4.739e-06/0.742, allocations: 0 / 0.7936 GB, free: 3.285 MB / 378.7 MB Notification: Performance of Templates: time 0.01966/0.7616, allocations: 4.548 MB / 0.7981 GB, free: 14.78 MB / 394.7 MB