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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.1.|rho.2.|rho.3.|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_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00275/0.00275, 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.924/3.924, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003446/0.003446, allocations: 226.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.6408/0.6408, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006948/0.0006955, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09193, allocations: 48.7 MB / 0.6068 GB, free: 4.629 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4881/0.5801, allocations: 81.44 MB / 0.6863 GB, free: 31.33 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005991/0.5807, allocations: 104.6 kB / 0.6864 GB, free: 31.23 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, 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:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, 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:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.04119/0.622, allocations: 8.894 MB / 0.6951 GB, free: 22.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.622, allocations: 0 / 0.6951 GB, free: 22.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.622, allocations: 7.719 kB / 0.6951 GB, free: 22.46 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007772/0.6228, allocations: 0.5262 MB / 0.6956 GB, free: 21.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.6229, allocations: 8.031 kB / 0.6956 GB, free: 21.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.623, allocations: 37.33 kB / 0.6956 GB, free: 21.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.6233, allocations: 238.6 kB / 0.6959 GB, free: 21.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.6233, allocations: 25 kB / 0.6959 GB, free: 21.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.6234, allocations: 37.52 kB / 0.6959 GB, free: 21.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.6244, allocations: 493.4 kB / 0.6964 GB, free: 21.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.6244, allocations: 0 / 0.6964 GB, free: 21.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.6245, allocations: 8 kB / 0.6964 GB, free: 21.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/0.6246, allocations: 27.98 kB / 0.6964 GB, free: 20.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009647/0.6255, allocations: 432.8 kB / 0.6968 GB, free: 20.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.6275, allocations: 1.185 MB / 0.698 GB, free: 19.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.6278, allocations: 81.78 kB / 0.6981 GB, free: 19.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.628, allocations: 48.83 kB / 0.6981 GB, free: 19.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.628, allocations: 12.08 kB / 0.6981 GB, free: 19.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.6281, allocations: 34.56 kB / 0.6982 GB, free: 19.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.236e-06/0.6281, allocations: 0 / 0.6982 GB, free: 19.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007579/0.6289, allocations: 165.5 kB / 0.6983 GB, free: 18.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.6289, allocations: 55.34 kB / 0.6984 GB, free: 18.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.6291, allocations: 171.7 kB / 0.6985 GB, free: 18.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.6291, allocations: 25.7 kB / 0.6986 GB, free: 18.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.6292, allocations: 215.3 kB / 0.6988 GB, free: 18.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.6293, allocations: 31.62 kB / 0.6988 GB, free: 18.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.6293, allocations: 4 kB / 0.6988 GB, free: 18.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.014e-05/0.6294, allocations: 326.8 kB / 0.6991 GB, free: 18.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.6296, allocations: 55.95 kB / 0.6992 GB, free: 18.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.6299, allocations: 180.2 kB / 0.6993 GB, free: 17.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.6302, allocations: 91.83 kB / 0.6994 GB, free: 17.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6302, allocations: 2.812 kB / 0.6994 GB, free: 17.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006956/0.6309, allocations: 261 kB / 0.6997 GB, free: 17.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.6309, allocations: 4 kB / 0.6997 GB, free: 17.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.631, allocations: 4 kB / 0.6997 GB, free: 17.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.631, allocations: 8.562 kB / 0.6997 GB, free: 17.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.6316, allocations: 95.89 kB / 0.6998 GB, free: 17.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008138/0.6324, allocations: 1.782 MB / 0.7015 GB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.6326, allocations: 27.75 kB / 0.7015 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.6327, allocations: 16 kB / 0.7016 GB, free: 15.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0002557/0.633, allocations: 183.7 kB / 0.7017 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.633, allocations: 15.05 kB / 0.7018 GB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007814/0.6338, allocations: 194.9 kB / 0.7019 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.6338, allocations: 3.094 kB / 0.7019 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6338, allocations: 7.938 kB / 0.702 GB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6339, allocations: 0 / 0.702 GB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.6343, allocations: 297.4 kB / 0.7022 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.6343, allocations: 0 / 0.7022 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.6347, allocations: 71.91 kB / 0.7023 GB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.6347, allocations: 0 / 0.7023 GB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.6347, allocations: 8 kB / 0.7023 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007469/0.6355, allocations: 1.774 MB / 0.704 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6355, allocations: 2.875 kB / 0.704 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.636, allocations: 235.5 kB / 0.7043 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.6361, allocations: 85 kB / 0.7044 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.6361, allocations: 0 / 0.7044 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.6363, allocations: 8 kB / 0.7044 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.746e-05/0.6364, allocations: 11.98 kB / 0.7044 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.6364, allocations: 4 kB / 0.7044 GB, free: 12.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.6365, allocations: 112.1 kB / 0.7045 GB, free: 12.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6365, allocations: 4 kB / 0.7045 GB, free: 12.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006937/0.6372, allocations: 115.5 kB / 0.7046 GB, free: 12.2 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 (7): * Single equations (assignments): 4 * 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.0004153/0.6377, allocations: 171.8 kB / 0.7048 GB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009554/0.6386, allocations: 192.8 kB / 0.7049 GB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6387, allocations: 0 / 0.7049 GB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.6392, allocations: 98.23 kB / 0.705 GB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.6396, allocations: 14.14 kB / 0.705 GB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.6409, allocations: 0.5861 MB / 0.7056 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.6412, allocations: 0.7946 MB / 0.7064 GB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003444/0.6416, allocations: 67.39 kB / 0.7065 GB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.6417, allocations: 15.44 kB / 0.7065 GB, free: 10.24 MB / 362.7 MB Notification: Performance of SimCode: time 1.854e-06/0.6417, allocations: 0 / 0.7065 GB, free: 10.24 MB / 362.7 MB Notification: Performance of Templates: time 0.0101/0.6518, allocations: 3.271 MB / 0.7097 GB, free: 7.094 MB / 362.7 MB