Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|L|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0027/0.002699, allocations: 347.9 kB / 15.94 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.939/3.939, allocations: 341.5 MB / 358.2 MB, free: 12.56 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.003732/0.003732, allocations: 218.1 kB / 397.9 MB, free: 4.906 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.5817/0.5817, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004837, allocations: 12 kB / 0.5592 GB, free: 53.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1365, allocations: 48.7 MB / 0.6068 GB, free: 4.609 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4185/0.5551, allocations: 81.46 MB / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004864/0.5556, allocations: 100.7 kB / 0.6864 GB, free: 31.13 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.04838/0.604, allocations: 10.21 MB / 0.6964 GB, free: 21.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.6041, allocations: 4 kB / 0.6964 GB, free: 21.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.6041, allocations: 8 kB / 0.6964 GB, free: 21.04 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001359/0.6055, allocations: 0.6827 MB / 0.697 GB, free: 20.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.6055, allocations: 8.031 kB / 0.6971 GB, free: 20.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.6057, allocations: 63.05 kB / 0.6971 GB, free: 20.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.6062, allocations: 318.2 kB / 0.6974 GB, free: 19.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.6063, allocations: 40.98 kB / 0.6975 GB, free: 19.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.6064, allocations: 48 kB / 0.6975 GB, free: 19.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.6078, allocations: 0.6719 MB / 0.6982 GB, free: 19.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.6079, allocations: 0 / 0.6982 GB, free: 19.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/0.6079, allocations: 16 kB / 0.6982 GB, free: 19.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-05/0.608, allocations: 53.28 kB / 0.6982 GB, free: 19.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.6096, allocations: 0.7428 MB / 0.699 GB, free: 18.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00331/0.6129, allocations: 1.705 MB / 0.7006 GB, free: 16.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009069/0.6139, allocations: 355.4 kB / 0.701 GB, free: 16.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004133/0.6143, allocations: 154.3 kB / 0.7011 GB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.862e-05/0.6144, allocations: 16.2 kB / 0.7011 GB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.6144, allocations: 34.8 kB / 0.7012 GB, free: 15.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 3.125e-06/0.6144, allocations: 0 / 0.7012 GB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001545/0.616, allocations: 0.4956 MB / 0.7016 GB, free: 15.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.616, allocations: 55.41 kB / 0.7017 GB, free: 15.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.6167, allocations: 461.4 kB / 0.7021 GB, free: 14.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.6167, allocations: 29.7 kB / 0.7022 GB, free: 14.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.6169, allocations: 263.5 kB / 0.7024 GB, free: 14.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.473e-05/0.617, allocations: 94.64 kB / 0.7025 GB, free: 14.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.6171, allocations: 8 kB / 0.7025 GB, free: 14.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6172, allocations: 350.8 kB / 0.7028 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.6176, allocations: 151.8 kB / 0.703 GB, free: 14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/0.6182, allocations: 255.6 kB / 0.7032 GB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.6187, allocations: 187.8 kB / 0.7034 GB, free: 13.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6187, allocations: 0 / 0.7034 GB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001344/0.6201, allocations: 484.7 kB / 0.7039 GB, free: 13.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.6201, allocations: 8 kB / 0.7039 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.6202, allocations: 4 kB / 0.7039 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/0.6202, allocations: 7.984 kB / 0.7039 GB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.6213, allocations: 163.8 kB / 0.704 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.623, allocations: 3.611 MB / 0.7076 GB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/0.6237, allocations: 63.7 kB / 0.7076 GB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.6238, allocations: 20 kB / 0.7077 GB, free: 9.027 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003565/0.6242, allocations: 224 kB / 0.7079 GB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/0.6243, allocations: 39.52 kB / 0.7079 GB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.6259, allocations: 0.5399 MB / 0.7084 GB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/0.626, allocations: 11.98 kB / 0.7084 GB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.626, allocations: 0 / 0.7084 GB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.626, allocations: 5.219 kB / 0.7084 GB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007654/0.6268, allocations: 449.1 kB / 0.7089 GB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6268, allocations: 4 kB / 0.7089 GB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.6278, allocations: 143.8 kB / 0.709 GB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.6279, allocations: 0 / 0.709 GB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.6279, allocations: 17.38 kB / 0.709 GB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.6296, allocations: 3.606 MB / 0.7126 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.6296, allocations: 0 / 0.7126 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.6313, allocations: 0.6771 MB / 0.7132 GB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.6316, allocations: 172.4 kB / 0.7134 GB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.897e-05/0.6317, allocations: 8 kB / 0.7134 GB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.6321, allocations: 8 kB / 0.7134 GB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.6322, allocations: 31.91 kB / 0.7134 GB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.6323, allocations: 15.98 kB / 0.7134 GB, free: 2.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005171/0.6328, allocations: 343.1 kB / 0.7138 GB, free: 2.551 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6328, allocations: 0 / 0.7138 GB, free: 2.551 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000812/0.6336, allocations: 183.6 kB / 0.7139 GB, free: 2.371 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000472/0.6341, allocations: 217.5 kB / 0.7141 GB, free: 2.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.6359, allocations: 441.6 kB / 0.7146 GB, free: 1.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.636, allocations: 4.062 kB / 0.7146 GB, free: 1.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.6371, allocations: 267.7 kB / 0.7148 GB, free: 1.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.6377, allocations: 35.8 kB / 0.7149 GB, free: 1.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.64, allocations: 1.113 MB / 0.716 GB, free: 312 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/0.6407, allocations: 0.9152 MB / 0.7168 GB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000722/0.6414, allocations: 141.1 kB / 0.717 GB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.6417, allocations: 47.42 kB / 0.717 GB, free: 15.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6417, allocations: 0 / 0.717 GB, free: 15.2 MB / 378.7 MB Notification: Performance of Templates: time 0.02098/0.6627, allocations: 6.31 MB / 0.7232 GB, free: 9.012 MB / 378.7 MB