Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002776/0.002776, allocations: 361.6 kB / 15.95 MB, free: 6.203 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.424/4.424, allocations: 388.9 MB / 405.6 MB, free: 9.578 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.00512/0.00512, allocations: 224.4 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.5883/0.5883, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004887, allocations: 12 kB / 0.6265 GB, free: 96.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1089, allocations: 54.88 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5218/0.6308, allocations: 83.96 MB / 0.7621 GB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005394/0.6314, allocations: 107 kB / 0.7622 GB, free: 1.223 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03126/0.6627, allocations: 4.224 MB / 0.7663 GB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.6628, allocations: 0 / 0.7663 GB, free: 13.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.6628, allocations: 0 / 0.7663 GB, free: 13.57 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001053/0.6639, allocations: 443.6 kB / 0.7668 GB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.664, allocations: 8.031 kB / 0.7668 GB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.6658, allocations: 106.5 kB / 0.7669 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.6664, allocations: 220 kB / 0.7671 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.6664, allocations: 11.19 kB / 0.7671 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.6665, allocations: 11.62 kB / 0.7671 GB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.6677, allocations: 234.1 kB / 0.7673 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.6678, allocations: 0 / 0.7673 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.6679, allocations: 6.625 kB / 0.7673 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/0.6679, allocations: 12 kB / 0.7673 GB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.6692, allocations: 242.6 kB / 0.7676 GB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.672, allocations: 0.7408 MB / 0.7683 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.6726, allocations: 97.19 kB / 0.7684 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/0.673, allocations: 52 kB / 0.7684 GB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.673, allocations: 3.125 kB / 0.7684 GB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.6731, allocations: 34.5 kB / 0.7685 GB, free: 11.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 4.439e-06/0.6731, allocations: 0 / 0.7685 GB, free: 11.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001338/0.6745, allocations: 183.9 kB / 0.7686 GB, free: 11.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.6746, allocations: 51.41 kB / 0.7687 GB, free: 11.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.675, allocations: 187 kB / 0.7689 GB, free: 11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.6751, allocations: 25.7 kB / 0.7689 GB, free: 10.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.6752, allocations: 137.5 kB / 0.769 GB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.6753, allocations: 27.27 kB / 0.7691 GB, free: 10.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.6754, allocations: 3.875 kB / 0.7691 GB, free: 10.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.6756, allocations: 326.2 kB / 0.7694 GB, free: 10.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.676, allocations: 51.08 kB / 0.7694 GB, free: 10.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.6765, allocations: 108.6 kB / 0.7695 GB, free: 10.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.6769, allocations: 66.14 kB / 0.7696 GB, free: 10.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.677, allocations: 0 / 0.7696 GB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00109/0.6781, allocations: 199.2 kB / 0.7698 GB, free: 10.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.6782, allocations: 4 kB / 0.7698 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.6782, allocations: 7.984 kB / 0.7698 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.6782, allocations: 0 / 0.7698 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/0.6805, allocations: 107.1 kB / 0.7699 GB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/0.6843, allocations: 1.83 MB / 0.7717 GB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.6849, allocations: 30.77 kB / 0.7717 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.685, allocations: 8.547 kB / 0.7717 GB, free: 8.055 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003456/0.6854, allocations: 148.2 kB / 0.7719 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/0.6855, allocations: 7.906 kB / 0.7719 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.6867, allocations: 199.1 kB / 0.7721 GB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.6867, allocations: 0 / 0.7721 GB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6867, allocations: 0 / 0.7721 GB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.6868, allocations: 0.5 kB / 0.7721 GB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006256/0.6874, allocations: 230.2 kB / 0.7723 GB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.6875, allocations: 3.984 kB / 0.7723 GB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/0.6894, allocations: 107.6 kB / 0.7724 GB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.6895, allocations: 0 / 0.7724 GB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.6896, allocations: 0 / 0.7724 GB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.6919, allocations: 1.782 MB / 0.7741 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.692, allocations: 0 / 0.7741 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.6931, allocations: 255.1 kB / 0.7744 GB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.6933, allocations: 92.86 kB / 0.7744 GB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.6934, allocations: 0 / 0.7744 GB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.6938, allocations: 15.55 kB / 0.7745 GB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.957e-05/0.6939, allocations: 7.984 kB / 0.7745 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.6939, allocations: 0 / 0.7745 GB, free: 5.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002964/0.6943, allocations: 144 kB / 0.7746 GB, free: 5.031 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.91e-07/0.6943, allocations: 4 kB / 0.7746 GB, free: 5.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007694/0.6951, allocations: 47.22 kB / 0.7747 GB, free: 4.984 MB / 362.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 (11): * 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): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004064/0.6955, allocations: 134.9 kB / 0.7748 GB, free: 4.848 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004072/0.6996, allocations: 237.4 kB / 0.775 GB, free: 4.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.6997, allocations: 3.938 kB / 0.775 GB, free: 4.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.7016, allocations: 126.2 kB / 0.7751 GB, free: 4.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7027, allocations: 46.67 kB / 0.7752 GB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.7043, allocations: 393.3 kB / 0.7756 GB, free: 4.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.7048, allocations: 0.747 MB / 0.7763 GB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003751/0.7053, allocations: 33.39 kB / 0.7763 GB, free: 3.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.7054, allocations: 19.44 kB / 0.7763 GB, free: 3.262 MB / 362.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7054, allocations: 0 / 0.7763 GB, free: 3.262 MB / 362.7 MB Notification: Performance of Templates: time 0.01595/0.7214, allocations: 3.066 MB / 0.7793 GB, free: 264 kB / 362.7 MB