Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002604/0.002609, allocations: 350.6 kB / 15.94 MB, free: 6.215 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 4.092/4.092, 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.003528/0.003527, allocations: 218.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.4924/0.4924, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006334/0.0006342, allocations: 8 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1022, allocations: 48.71 MB / 0.6068 GB, free: 4.625 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4462/0.5484, allocations: 83.59 MB / 0.6884 GB, free: 29.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.5488, allocations: 99.94 kB / 0.6885 GB, free: 29.05 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05051/0.5993, allocations: 11.28 MB / 0.6995 GB, free: 17.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5993, allocations: 0 / 0.6995 GB, free: 17.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.5994, allocations: 4 kB / 0.6995 GB, free: 17.97 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001037/0.6004, allocations: 0.5898 MB / 0.7001 GB, free: 17.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.6004, allocations: 8.031 kB / 0.7001 GB, free: 17.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.6005, allocations: 31.62 kB / 0.7001 GB, free: 17.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.6008, allocations: 239.5 kB / 0.7003 GB, free: 17.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.6008, allocations: 31.73 kB / 0.7004 GB, free: 17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-05/0.6009, allocations: 28 kB / 0.7004 GB, free: 16.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009449/0.6019, allocations: 459.9 kB / 0.7008 GB, free: 16.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6019, allocations: 4 kB / 0.7008 GB, free: 16.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.6019, allocations: 8 kB / 0.7009 GB, free: 16.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-05/0.602, allocations: 41.81 kB / 0.7009 GB, free: 16.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.6033, allocations: 0.557 MB / 0.7014 GB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.6057, allocations: 1.324 MB / 0.7027 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.6064, allocations: 266.8 kB / 0.703 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.6067, allocations: 120.7 kB / 0.7031 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.6068, allocations: 12 kB / 0.7031 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.6068, allocations: 30.56 kB / 0.7031 GB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.435e-06/0.6068, allocations: 0 / 0.7031 GB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001045/0.6079, allocations: 343.5 kB / 0.7035 GB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.6079, allocations: 55.41 kB / 0.7035 GB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.608, allocations: 138 kB / 0.7036 GB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.6081, allocations: 29.7 kB / 0.7037 GB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/0.6082, allocations: 197.2 kB / 0.7039 GB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/0.6083, allocations: 94.73 kB / 0.704 GB, free: 13.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.6083, allocations: 4 kB / 0.704 GB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.6084, allocations: 322.8 kB / 0.7043 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.6087, allocations: 91.92 kB / 0.7044 GB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.6091, allocations: 180.3 kB / 0.7045 GB, free: 12.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.6095, allocations: 121.6 kB / 0.7046 GB, free: 12.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6095, allocations: 0 / 0.7046 GB, free: 12.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008588/0.6104, allocations: 337.1 kB / 0.705 GB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.6104, allocations: 4 kB / 0.705 GB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6104, allocations: 4.344 kB / 0.705 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.6104, allocations: 8 kB / 0.705 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008815/0.6113, allocations: 119.9 kB / 0.7051 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009965/0.6123, allocations: 2.364 MB / 0.7074 GB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.6126, allocations: 31.73 kB / 0.7074 GB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.6127, allocations: 16.28 kB / 0.7074 GB, free: 9.445 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002493/0.613, allocations: 190.5 kB / 0.7076 GB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.613, allocations: 11.81 kB / 0.7076 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.6142, allocations: 368.4 kB / 0.708 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.6142, allocations: 7.516 kB / 0.708 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6143, allocations: 2.156 kB / 0.708 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6143, allocations: 3.984 kB / 0.708 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.6148, allocations: 341.3 kB / 0.7083 GB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6148, allocations: 2.312 kB / 0.7083 GB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.6156, allocations: 107.9 kB / 0.7084 GB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.6156, allocations: 7.938 kB / 0.7084 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.6156, allocations: 12 kB / 0.7085 GB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009196/0.6165, allocations: 2.36 MB / 0.7108 GB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6166, allocations: 3.953 kB / 0.7108 GB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007767/0.6174, allocations: 375.9 kB / 0.7111 GB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.6174, allocations: 96.86 kB / 0.7112 GB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.6175, allocations: 7.984 kB / 0.7112 GB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.6177, allocations: 12 kB / 0.7112 GB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.6178, allocations: 27.97 kB / 0.7113 GB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.6179, allocations: 11.95 kB / 0.7113 GB, free: 5.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.133e-05/0.6179, allocations: 108 kB / 0.7114 GB, free: 5.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.618, allocations: 0 / 0.7114 GB, free: 5.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008462/0.6188, allocations: 191.4 kB / 0.7116 GB, free: 5.07 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005985/0.6194, allocations: 269.5 kB / 0.7118 GB, free: 4.809 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.6206, allocations: 302.1 kB / 0.7121 GB, free: 4.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6206, allocations: 4 kB / 0.7121 GB, free: 4.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.6213, allocations: 179.8 kB / 0.7123 GB, free: 4.336 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.6217, allocations: 12 kB / 0.7123 GB, free: 4.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.623, allocations: 0.7172 MB / 0.713 GB, free: 3.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.6233, allocations: 0.8052 MB / 0.7138 GB, free: 2.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005236/0.6239, allocations: 107.7 kB / 0.7139 GB, free: 2.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.624, allocations: 23.44 kB / 0.7139 GB, free: 2.637 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.624, allocations: 0 / 0.7139 GB, free: 2.637 MB / 362.7 MB Notification: Performance of Templates: time 0.0129/0.6369, allocations: 4.541 MB / 0.7183 GB, free: 14.2 MB / 378.7 MB