Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008291/0.008294, allocations: 360.3 kB / 15.96 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.211/4.211, allocations: 388.9 MB / 405.6 MB, free: 9.621 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003552/0.003552, allocations: 232.1 kB / 451 MB, free: 144.9 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5595/0.5595, allocations: 80.03 MB / 0.5627 GB, free: 19.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004791, allocations: 12 kB / 0.6265 GB, free: 96.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1385, allocations: 54.88 MB / 0.6801 GB, free: 41.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002895/0.1414, allocations: 1.486 MB / 0.6816 GB, free: 40.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003628/0.1451, allocations: 1.538 MB / 0.6831 GB, free: 38.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1453, allocations: 4 kB / 0.6831 GB, free: 38.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.1456, allocations: 27.83 kB / 0.6831 GB, free: 38.51 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.146, allocations: 75.64 kB / 0.6832 GB, free: 38.44 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1473, allocations: 362.9 kB / 0.6835 GB, free: 38.08 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000439/0.1478, allocations: 270.7 kB / 0.6838 GB, free: 37.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1479, allocations: 24.67 kB / 0.6838 GB, free: 37.79 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.1481, allocations: 83.53 kB / 0.6839 GB, free: 37.71 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.1484, allocations: 127.5 kB / 0.684 GB, free: 37.58 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.1485, allocations: 8 kB / 0.684 GB, free: 37.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.1503, allocations: 0.6626 MB / 0.6847 GB, free: 36.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1504, allocations: 67.73 kB / 0.6847 GB, free: 36.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.1505, allocations: 65.52 kB / 0.6848 GB, free: 36.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008886/0.1514, allocations: 351.2 kB / 0.6851 GB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1514, allocations: 3.984 kB / 0.6851 GB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1514, allocations: 0 / 0.6851 GB, free: 36.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.1515, allocations: 4 kB / 0.6851 GB, free: 36.42 MB / 346.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.001308/0.1528, allocations: 0.577 MB / 0.6857 GB, free: 35.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.1529, allocations: 8.031 kB / 0.6857 GB, free: 35.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.153, allocations: 27.62 kB / 0.6857 GB, free: 35.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.1534, allocations: 234.6 kB / 0.686 GB, free: 35.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.1535, allocations: 24.55 kB / 0.686 GB, free: 35.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.399e-05/0.1536, allocations: 24 kB / 0.686 GB, free: 35.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.1549, allocations: 475.2 kB / 0.6865 GB, free: 34.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.155, allocations: 11.89 kB / 0.6865 GB, free: 34.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/0.155, allocations: 8 kB / 0.6865 GB, free: 34.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.1552, allocations: 48.95 kB / 0.6865 GB, free: 34.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.157, allocations: 0.5582 MB / 0.6871 GB, free: 34.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.1605, allocations: 1.323 MB / 0.6884 GB, free: 32.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.1617, allocations: 270.5 kB / 0.6886 GB, free: 32.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.1622, allocations: 104.7 kB / 0.6887 GB, free: 32.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.899e-05/0.1623, allocations: 4 kB / 0.6887 GB, free: 32.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1623, allocations: 46.55 kB / 0.6888 GB, free: 32.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 5.05e-06/0.1623, allocations: 0 / 0.6888 GB, free: 32.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001575/0.1639, allocations: 340.1 kB / 0.6891 GB, free: 32.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.164, allocations: 59.41 kB / 0.6892 GB, free: 32.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1642, allocations: 137.9 kB / 0.6893 GB, free: 31.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.1642, allocations: 33.7 kB / 0.6893 GB, free: 31.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.1644, allocations: 195.7 kB / 0.6895 GB, free: 31.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1645, allocations: 87.12 kB / 0.6896 GB, free: 31.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.1645, allocations: 8 kB / 0.6896 GB, free: 31.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.1646, allocations: 326.8 kB / 0.6899 GB, free: 31.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.1651, allocations: 95.92 kB / 0.69 GB, free: 31.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.1656, allocations: 175.7 kB / 0.6902 GB, free: 30.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/0.1662, allocations: 119.8 kB / 0.6903 GB, free: 30.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1662, allocations: 4 kB / 0.6903 GB, free: 30.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001116/0.1673, allocations: 333.9 kB / 0.6906 GB, free: 30.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1674, allocations: 8 kB / 0.6906 GB, free: 30.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1674, allocations: 3.938 kB / 0.6906 GB, free: 30.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.1674, allocations: 8 kB / 0.6906 GB, free: 30.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008934/0.1683, allocations: 115.9 kB / 0.6907 GB, free: 30.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.1694, allocations: 2.368 MB / 0.693 GB, free: 27.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.1697, allocations: 31.77 kB / 0.6931 GB, free: 27.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.1698, allocations: 20 kB / 0.6931 GB, free: 27.87 MB / 346.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.0002327/0.17, allocations: 170.5 kB / 0.6933 GB, free: 27.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.1701, allocations: 15.81 kB / 0.6933 GB, free: 27.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1713, allocations: 391 kB / 0.6936 GB, free: 27.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1713, allocations: 3.984 kB / 0.6936 GB, free: 27.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1713, allocations: 0 / 0.6936 GB, free: 27.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.1714, allocations: 92.86 kB / 0.6937 GB, free: 27.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.1714, allocations: 4 kB / 0.6937 GB, free: 27.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.1717, allocations: 19.98 kB / 0.6938 GB, free: 27.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.1718, allocations: 19.97 kB / 0.6938 GB, free: 27.14 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001503/0.1733, allocations: 473.3 kB / 0.6942 GB, free: 26.66 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00122/0.1745, allocations: 0.5948 MB / 0.6948 GB, free: 26.05 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003383/0.1749, allocations: 116.7 kB / 0.6949 GB, free: 25.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.831e-05/0.175, allocations: 99.27 kB / 0.695 GB, free: 25.84 MB / 346.7 MB Notification: Performance of Backend: time 1.042e-06/0.175, allocations: 0 / 0.695 GB, free: 25.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.1768, allocations: 418.8 kB / 0.6954 GB, free: 25.42 MB / 346.7 MB Notification: Performance of SimCode: time 0.001326/0.1781, allocations: 1.103 MB / 0.6965 GB, free: 24.27 MB / 346.7 MB Notification: Performance of Templates: time 0.01308/0.1912, allocations: 4.903 MB / 0.7013 GB, free: 19.4 MB / 346.7 MB