Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.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.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.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004137/0.004143, allocations: 347.2 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.781/3.781, 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.005212/0.005212, allocations: 230.1 kB / 397.9 MB, free: 4.969 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.4887/0.4887, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004601, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08715/0.08763, allocations: 48.7 MB / 0.6068 GB, free: 4.629 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4011/0.4888, allocations: 77.53 MB / 0.6825 GB, free: 35.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/0.4893, allocations: 101.7 kB / 0.6826 GB, free: 35.09 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1+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.0198/0.5091, allocations: 4.209 MB / 0.6867 GB, free: 31 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.5091, allocations: 0 / 0.6867 GB, free: 31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.5091, allocations: 3.938 kB / 0.6867 GB, free: 30.99 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.0006072/0.5098, allocations: 442.3 kB / 0.6871 GB, free: 30.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5098, allocations: 8.031 kB / 0.6871 GB, free: 30.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.5109, allocations: 104.1 kB / 0.6872 GB, free: 30.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.5112, allocations: 218.8 kB / 0.6874 GB, free: 30.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.5112, allocations: 12 kB / 0.6874 GB, free: 30.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.5113, allocations: 15.94 kB / 0.6874 GB, free: 30.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.5119, allocations: 235.3 kB / 0.6877 GB, free: 29.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5119, allocations: 7.656 kB / 0.6877 GB, free: 29.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.5119, allocations: 4 kB / 0.6877 GB, free: 29.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.512, allocations: 15.98 kB / 0.6877 GB, free: 29.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.5127, allocations: 232.9 kB / 0.6879 GB, free: 29.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.5142, allocations: 0.7324 MB / 0.6886 GB, free: 28.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.5145, allocations: 101.6 kB / 0.6887 GB, free: 28.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.5147, allocations: 52.81 kB / 0.6888 GB, free: 28.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.5148, allocations: 8.078 kB / 0.6888 GB, free: 28.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.5148, allocations: 38.52 kB / 0.6888 GB, free: 28.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.326e-06/0.5148, allocations: 0.5938 kB / 0.6888 GB, free: 28.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007705/0.5156, allocations: 182.3 kB / 0.689 GB, free: 28.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.5156, allocations: 51.41 kB / 0.689 GB, free: 28.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.5159, allocations: 179.3 kB / 0.6892 GB, free: 28.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.5159, allocations: 29.7 kB / 0.6892 GB, free: 28.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.516, allocations: 137.9 kB / 0.6894 GB, free: 28.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.516, allocations: 33.92 kB / 0.6894 GB, free: 27.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.516, allocations: 3.75 kB / 0.6894 GB, free: 27.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.5161, allocations: 322.8 kB / 0.6897 GB, free: 27.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.5163, allocations: 55.36 kB / 0.6898 GB, free: 27.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.5166, allocations: 106 kB / 0.6899 GB, free: 27.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.5169, allocations: 72.22 kB / 0.6899 GB, free: 27.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5169, allocations: 0 / 0.6899 GB, free: 27.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005969/0.5175, allocations: 198.7 kB / 0.6901 GB, free: 27.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.5175, allocations: 7.953 kB / 0.6901 GB, free: 27.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5176, allocations: 4 kB / 0.6901 GB, free: 27.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.5176, allocations: 1.844 kB / 0.6901 GB, free: 27.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.5191, allocations: 107.8 kB / 0.6903 GB, free: 27.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.5211, allocations: 1.826 MB / 0.692 GB, free: 25.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.5215, allocations: 33.61 kB / 0.6921 GB, free: 25.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.5215, allocations: 4 kB / 0.6921 GB, free: 25.19 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.0001583/0.5217, allocations: 145.7 kB / 0.6922 GB, free: 25.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.5218, allocations: 15.16 kB / 0.6922 GB, free: 25.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000698/0.5225, allocations: 190.2 kB / 0.6924 GB, free: 24.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.5225, allocations: 3.75 kB / 0.6924 GB, free: 24.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5225, allocations: 2.812 kB / 0.6924 GB, free: 24.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5225, allocations: 0 / 0.6924 GB, free: 24.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.5228, allocations: 235.9 kB / 0.6926 GB, free: 24.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5228, allocations: 0 / 0.6926 GB, free: 24.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.5242, allocations: 101 kB / 0.6927 GB, free: 24.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/0.5242, allocations: 2.969 kB / 0.6927 GB, free: 24.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.5242, allocations: 0 / 0.6927 GB, free: 24.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009798/0.5252, allocations: 1.783 MB / 0.6945 GB, free: 22.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5252, allocations: 0 / 0.6945 GB, free: 22.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.5258, allocations: 247.1 kB / 0.6947 GB, free: 22.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.5259, allocations: 96.86 kB / 0.6948 GB, free: 22.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.526, allocations: 4 kB / 0.6948 GB, free: 22.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.5262, allocations: 16.72 kB / 0.6948 GB, free: 22.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.5263, allocations: 11.98 kB / 0.6948 GB, free: 22.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.5263, allocations: 0 / 0.6948 GB, free: 22.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001448/0.5265, allocations: 137.1 kB / 0.695 GB, free: 22.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.102e-06/0.5265, allocations: 4 kB / 0.695 GB, free: 22.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004345/0.5269, allocations: 47.94 kB / 0.695 GB, free: 22.04 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.0002256/0.5272, allocations: 125.5 kB / 0.6951 GB, free: 21.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002706/0.5299, allocations: 247.2 kB / 0.6954 GB, free: 21.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5299, allocations: 0 / 0.6954 GB, free: 21.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.5312, allocations: 123.7 kB / 0.6955 GB, free: 21.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.5318, allocations: 42.39 kB / 0.6955 GB, free: 21.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008446/0.5326, allocations: 391.9 kB / 0.6959 GB, free: 21.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.5329, allocations: 0.7528 MB / 0.6966 GB, free: 20.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002066/0.5331, allocations: 34.2 kB / 0.6967 GB, free: 20.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.5332, allocations: 15.44 kB / 0.6967 GB, free: 20.29 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5332, allocations: 0 / 0.6967 GB, free: 20.29 MB / 362.7 MB Notification: Performance of Templates: time 0.009015/0.5422, allocations: 3.068 MB / 0.6997 GB, free: 17.34 MB / 362.7 MB