Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004086/0.004091, allocations: 346.5 kB / 15.94 MB, free: 6.199 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.542/3.542, allocations: 341.5 MB / 358.2 MB, free: 12.65 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.005396/0.005396, allocations: 225.1 kB / 397.9 MB, free: 4.984 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.5166/0.5166, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004656, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08459/0.08508, allocations: 48.7 MB / 0.6068 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00155/0.08668, allocations: 1.155 MB / 0.6079 GB, free: 3.488 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.08884, allocations: 1.306 MB / 0.6092 GB, free: 2.176 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.08896, allocations: 0 / 0.6092 GB, free: 2.176 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.08915, allocations: 19.91 kB / 0.6092 GB, free: 2.156 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.08939, allocations: 43.75 kB / 0.6092 GB, free: 2.113 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.08996, allocations: 159.5 kB / 0.6094 GB, free: 1.957 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.09007, allocations: 55.72 kB / 0.6094 GB, free: 1.902 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.09014, allocations: 0 / 0.6094 GB, free: 1.902 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.0902, allocations: 23.86 kB / 0.6094 GB, free: 1.879 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.09028, allocations: 27.86 kB / 0.6095 GB, free: 1.852 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.0903, allocations: 0 / 0.6095 GB, free: 1.852 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006796/0.09099, allocations: 303.6 kB / 0.6098 GB, free: 1.555 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.09103, allocations: 15.92 kB / 0.6098 GB, free: 1.539 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.09107, allocations: 33.7 kB / 0.6098 GB, free: 1.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.09142, allocations: 175.9 kB / 0.61 GB, free: 1.328 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.09144, allocations: 0 / 0.61 GB, free: 1.328 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.09145, allocations: 0 / 0.61 GB, free: 1.328 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.09147, allocations: 0 / 0.61 GB, free: 1.328 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.2604/0.3519, allocations: 399.1 kB / 0.6104 GB, free: 90.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3519, allocations: 9.781 kB / 0.6104 GB, free: 90.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.352, allocations: 7.484 kB / 0.6104 GB, free: 90.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3521, allocations: 171.4 kB / 0.6105 GB, free: 90.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3521, allocations: 3.562 kB / 0.6105 GB, free: 90.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3522, allocations: 11.69 kB / 0.6105 GB, free: 90.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3523, allocations: 67.91 kB / 0.6106 GB, free: 90.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3524, allocations: 0 / 0.6106 GB, free: 90.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3524, allocations: 5.141 kB / 0.6106 GB, free: 90.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3524, allocations: 0.9375 kB / 0.6106 GB, free: 90.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.3525, allocations: 59.16 kB / 0.6107 GB, free: 90.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.3528, allocations: 187.8 kB / 0.6109 GB, free: 90.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.3529, allocations: 54.8 kB / 0.6109 GB, free: 90.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.863e-05/0.353, allocations: 44.8 kB / 0.6109 GB, free: 90.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.444e-05/0.3531, allocations: 17.77 kB / 0.611 GB, free: 90.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.3531, allocations: 37.25 kB / 0.611 GB, free: 90.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.3531, allocations: 0 / 0.611 GB, free: 90.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0354/0.3885, allocations: 1.391 MB / 0.6124 GB, free: 90.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.3886, allocations: 55.41 kB / 0.6124 GB, free: 90.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.3887, allocations: 136.3 kB / 0.6125 GB, free: 90.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.3888, allocations: 30.14 kB / 0.6126 GB, free: 90.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.3888, allocations: 81.92 kB / 0.6126 GB, free: 89.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/0.3889, allocations: 43.03 kB / 0.6127 GB, free: 89.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.3889, allocations: 4.562 kB / 0.6127 GB, free: 89.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.389, allocations: 323.6 kB / 0.613 GB, free: 89.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007254/0.3898, allocations: 165.4 kB / 0.6132 GB, free: 89.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007227/0.3905, allocations: 163.3 kB / 0.6133 GB, free: 89.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007851/0.3913, allocations: 162.8 kB / 0.6135 GB, free: 89.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3913, allocations: 0.5938 kB / 0.6135 GB, free: 89.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001722/0.3931, allocations: 399.6 kB / 0.6139 GB, free: 89.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3931, allocations: 8.484 kB / 0.6139 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3931, allocations: 0 / 0.6139 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3931, allocations: 1.312 kB / 0.6139 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006852/0.3938, allocations: 47.78 kB / 0.6139 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3939, allocations: 3.969 kB / 0.6139 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.3944, allocations: 15.81 kB / 0.6139 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.3944, allocations: 12.94 kB / 0.6139 GB, free: 89.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.3946, allocations: 121.4 kB / 0.6141 GB, free: 89.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.3946, allocations: 9.125 kB / 0.6141 GB, free: 89.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.3964, allocations: 319.5 kB / 0.6144 GB, free: 89.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3964, allocations: 1.453 kB / 0.6144 GB, free: 89.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3964, allocations: 2.875 kB / 0.6144 GB, free: 89.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.3966, allocations: 105.2 kB / 0.6145 GB, free: 89.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.3967, allocations: 4.75 kB / 0.6145 GB, free: 89.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.3972, allocations: 16.91 kB / 0.6145 GB, free: 89.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.3972, allocations: 11.8 kB / 0.6145 GB, free: 89.33 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001941/0.3992, allocations: 366.8 kB / 0.6149 GB, free: 89.22 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001522/0.4007, allocations: 437.5 kB / 0.6153 GB, free: 89.01 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006431/0.4014, allocations: 120.5 kB / 0.6154 GB, free: 89.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.797e-05/0.4014, allocations: 104.8 kB / 0.6155 GB, free: 88.93 MB / 362.7 MB Notification: Performance of Backend: time 7.62e-07/0.4015, allocations: 0 / 0.6155 GB, free: 88.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002189/0.4037, allocations: 433.9 kB / 0.6159 GB, free: 88.85 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006765/0.4044, allocations: 0.6837 MB / 0.6166 GB, free: 88.22 MB / 362.7 MB Notification: Performance of Templates: time 0.01941/0.4238, allocations: 7.918 MB / 0.6243 GB, free: 86.92 MB / 362.7 MB "" Variables in the reference:time,rho_a,rho_b,mu_a,mu_b,dp,m_flow1,m_flow2,der_m_flow1 Variables in the result:data.D_Re,data.Re_turbulent,data.c0,data.diameter_a,data.diameter_b,data.zeta1,data.zeta1_at_a,data.zeta2,data.zeta2_at_a,data.zetaLaminarKnown,der_m_flow1,diameter_a,diameter_b,dp,dp_small,m_flow1,m_flow2,mu_a,mu_b,rho_a,rho_b,time