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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.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_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002595/0.002598, 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.693/3.693, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003453/0.003453, allocations: 222.1 kB / 397.9 MB, free: 4.887 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.5104/0.5104, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004863, allocations: 16 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1378, allocations: 48.7 MB / 0.6068 GB, free: 4.625 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4245/0.5623, allocations: 78.01 MB / 0.6829 GB, free: 34.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/0.5627, allocations: 99.94 kB / 0.683 GB, free: 34.62 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5587:11-5590:61: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:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02679/0.5895, allocations: 6.025 MB / 0.6889 GB, free: 28.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5896, allocations: 0 / 0.6889 GB, free: 28.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.5896, allocations: 4 kB / 0.6889 GB, free: 28.71 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007176/0.5903, allocations: 449.8 kB / 0.6893 GB, free: 28.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.5904, allocations: 12.03 kB / 0.6894 GB, free: 28.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.5912, allocations: 77.34 kB / 0.6894 GB, free: 28.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.5915, allocations: 222.8 kB / 0.6896 GB, free: 27.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.5916, allocations: 8 kB / 0.6896 GB, free: 27.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.5916, allocations: 15.98 kB / 0.6897 GB, free: 27.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/0.5924, allocations: 282.9 kB / 0.6899 GB, free: 27.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5924, allocations: 0 / 0.6899 GB, free: 27.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.5924, allocations: 8 kB / 0.6899 GB, free: 27.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/0.5925, allocations: 15.94 kB / 0.69 GB, free: 27.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007597/0.5933, allocations: 274.9 kB / 0.6902 GB, free: 27.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.595, allocations: 0.7867 MB / 0.691 GB, free: 26.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.5956, allocations: 185.2 kB / 0.6912 GB, free: 26.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.5959, allocations: 73.62 kB / 0.6912 GB, free: 26.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.5959, allocations: 19.11 kB / 0.6913 GB, free: 26.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.596, allocations: 38.56 kB / 0.6913 GB, free: 26.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.424e-06/0.596, allocations: 0 / 0.6913 GB, free: 26.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001009/0.597, allocations: 259.6 kB / 0.6915 GB, free: 25.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.597, allocations: 51.41 kB / 0.6916 GB, free: 25.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.5972, allocations: 189.6 kB / 0.6918 GB, free: 25.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.5973, allocations: 29.7 kB / 0.6918 GB, free: 25.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.5974, allocations: 131.6 kB / 0.6919 GB, free: 25.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.5974, allocations: 35.45 kB / 0.692 GB, free: 25.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.5975, allocations: 4 kB / 0.692 GB, free: 25.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.5975, allocations: 323.5 kB / 0.6923 GB, free: 25.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.5978, allocations: 73.23 kB / 0.6923 GB, free: 24.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.5982, allocations: 127.5 kB / 0.6925 GB, free: 24.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.5986, allocations: 97.98 kB / 0.6926 GB, free: 24.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5986, allocations: 0 / 0.6926 GB, free: 24.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008061/0.5994, allocations: 261.3 kB / 0.6928 GB, free: 24.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.5995, allocations: 7.953 kB / 0.6928 GB, free: 24.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.5995, allocations: 7.656 kB / 0.6928 GB, free: 24.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.5995, allocations: 4 kB / 0.6928 GB, free: 24.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.6002, allocations: 80.44 kB / 0.6929 GB, free: 24.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008299/0.6011, allocations: 1.785 MB / 0.6946 GB, free: 22.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.6015, allocations: 27.77 kB / 0.6947 GB, free: 22.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.6015, allocations: 18.95 kB / 0.6947 GB, free: 22.52 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 (17): * Single equations (assignments): 14 * 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.0001821/0.6017, allocations: 147.8 kB / 0.6948 GB, free: 22.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.6018, allocations: 15.86 kB / 0.6948 GB, free: 22.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.6031, allocations: 291.2 kB / 0.6951 GB, free: 22.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6031, allocations: 0 / 0.6951 GB, free: 22.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.6031, allocations: 4 kB / 0.6951 GB, free: 22.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6031, allocations: 3.984 kB / 0.6951 GB, free: 22.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.6034, allocations: 241.1 kB / 0.6954 GB, free: 21.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.6034, allocations: 0 / 0.6954 GB, free: 21.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.604, allocations: 63.91 kB / 0.6954 GB, free: 21.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.604, allocations: 2.578 kB / 0.6954 GB, free: 21.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.604, allocations: 3.953 kB / 0.6954 GB, free: 21.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007367/0.6048, allocations: 1.789 MB / 0.6972 GB, free: 19.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6048, allocations: 1.688 kB / 0.6972 GB, free: 19.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.6054, allocations: 275.2 kB / 0.6974 GB, free: 19.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.6055, allocations: 92.91 kB / 0.6975 GB, free: 19.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.6055, allocations: 11.95 kB / 0.6975 GB, free: 19.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.6058, allocations: 4 kB / 0.6975 GB, free: 19.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.6058, allocations: 15.98 kB / 0.6976 GB, free: 19.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.6059, allocations: 6.5 kB / 0.6976 GB, free: 19.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.606, allocations: 144.3 kB / 0.6977 GB, free: 19.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.606, allocations: 4 kB / 0.6977 GB, free: 19.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005278/0.6066, allocations: 67.92 kB / 0.6978 GB, free: 19.23 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 (13): * Single equations (assignments): 10 * 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.0002821/0.6069, allocations: 143.2 kB / 0.6979 GB, free: 19.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009383/0.6078, allocations: 203.7 kB / 0.6981 GB, free: 18.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6079, allocations: 0 / 0.6981 GB, free: 18.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005411/0.6084, allocations: 112.3 kB / 0.6982 GB, free: 18.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.6088, allocations: 12.19 kB / 0.6982 GB, free: 18.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.6099, allocations: 441.4 kB / 0.6986 GB, free: 18.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.6103, allocations: 0.7514 MB / 0.6994 GB, free: 17.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004819/0.6108, allocations: 57.03 kB / 0.6994 GB, free: 17.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.611, allocations: 19.42 kB / 0.6994 GB, free: 17.47 MB / 362.7 MB Notification: Performance of SimCode: time 1.753e-06/0.611, allocations: 0 / 0.6994 GB, free: 17.47 MB / 362.7 MB Notification: Performance of Templates: time 0.009281/0.6203, allocations: 3.074 MB / 0.7024 GB, free: 14.49 MB / 362.7 MB