Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002799/0.002799, allocations: 364.4 kB / 15.96 MB, free: 6.199 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 3.99/3.99, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.008043/0.008042, allocations: 227.7 kB / 451 MB, free: 145.1 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.5787/0.5787, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004782, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.102, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002011/0.1041, allocations: 1.152 MB / 0.6812 GB, free: 40.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.107, allocations: 1.315 MB / 0.6825 GB, free: 39.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.19e-05/0.1071, allocations: 0 / 0.6825 GB, free: 39.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.1074, allocations: 23.84 kB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.1077, allocations: 39.77 kB / 0.6826 GB, free: 39.1 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008509/0.1085, allocations: 159.5 kB / 0.6827 GB, free: 38.94 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1087, allocations: 47.73 kB / 0.6828 GB, free: 38.89 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.1088, allocations: 4 kB / 0.6828 GB, free: 38.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.1089, allocations: 23.92 kB / 0.6828 GB, free: 38.87 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.109, allocations: 27.86 kB / 0.6828 GB, free: 38.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.109, allocations: 0 / 0.6828 GB, free: 38.84 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.11, allocations: 299.6 kB / 0.6831 GB, free: 38.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.1101, allocations: 7.984 kB / 0.6831 GB, free: 38.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.1102, allocations: 37.64 kB / 0.6832 GB, free: 38.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005174/0.1107, allocations: 175.9 kB / 0.6833 GB, free: 38.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1107, allocations: 0 / 0.6833 GB, free: 38.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1107, allocations: 0 / 0.6833 GB, free: 38.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.1108, allocations: 0 / 0.6833 GB, free: 38.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006494/0.1114, allocations: 413.8 kB / 0.6837 GB, free: 37.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.1115, allocations: 8.031 kB / 0.6837 GB, free: 37.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.1115, allocations: 7.906 kB / 0.6837 GB, free: 37.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1117, allocations: 170.9 kB / 0.6839 GB, free: 37.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.1117, allocations: 8 kB / 0.6839 GB, free: 37.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.1118, allocations: 0 / 0.6839 GB, free: 37.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.112, allocations: 73.55 kB / 0.684 GB, free: 37.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.112, allocations: 0 / 0.684 GB, free: 37.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.112, allocations: 3.953 kB / 0.684 GB, free: 37.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1121, allocations: 4 kB / 0.684 GB, free: 37.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.1122, allocations: 63.95 kB / 0.684 GB, free: 37.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.1125, allocations: 189.6 kB / 0.6842 GB, free: 37.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.1127, allocations: 58.55 kB / 0.6843 GB, free: 37.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1128, allocations: 40.84 kB / 0.6843 GB, free: 37.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-05/0.1129, allocations: 19.98 kB / 0.6843 GB, free: 37.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1129, allocations: 38.5 kB / 0.6844 GB, free: 37.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 3.697e-06/0.113, allocations: 0 / 0.6844 GB, free: 37.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.04415/0.1571, allocations: 1.385 MB / 0.6857 GB, free: 35.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.1572, allocations: 55.41 kB / 0.6858 GB, free: 35.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1573, allocations: 145.8 kB / 0.6859 GB, free: 35.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1574, allocations: 25.7 kB / 0.6859 GB, free: 35.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.1574, allocations: 84.14 kB / 0.686 GB, free: 35.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.1575, allocations: 43.34 kB / 0.6861 GB, free: 35.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.1575, allocations: 0 / 0.6861 GB, free: 35.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.1576, allocations: 318.8 kB / 0.6864 GB, free: 34.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007136/0.1583, allocations: 172.1 kB / 0.6865 GB, free: 34.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006763/0.159, allocations: 160.3 kB / 0.6867 GB, free: 34.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007674/0.1598, allocations: 160.9 kB / 0.6868 GB, free: 34.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1599, allocations: 4 kB / 0.6868 GB, free: 34.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001617/0.1615, allocations: 407.1 kB / 0.6872 GB, free: 34.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.1615, allocations: 11.98 kB / 0.6872 GB, free: 34.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.1616, allocations: 3.953 kB / 0.6872 GB, free: 34.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.1616, allocations: 4 kB / 0.6872 GB, free: 34.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/0.1623, allocations: 43.94 kB / 0.6873 GB, free: 34.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1623, allocations: 0 / 0.6873 GB, free: 34.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.1629, allocations: 15.98 kB / 0.6873 GB, free: 34.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.1629, allocations: 15.91 kB / 0.6873 GB, free: 34 MB / 346.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.0001413/0.1631, allocations: 118.6 kB / 0.6874 GB, free: 33.87 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.1631, allocations: 15.84 kB / 0.6874 GB, free: 33.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.1648, allocations: 302.1 kB / 0.6877 GB, free: 33.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.1649, allocations: 7.938 kB / 0.6877 GB, free: 33.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1649, allocations: 4 kB / 0.6877 GB, free: 33.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.165, allocations: 109 kB / 0.6878 GB, free: 33.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.1651, allocations: 0 / 0.6878 GB, free: 33.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/0.1656, allocations: 19.98 kB / 0.6879 GB, free: 33.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1657, allocations: 4 kB / 0.6879 GB, free: 33.39 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001969/0.1676, allocations: 372.6 kB / 0.6882 GB, free: 33.02 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001532/0.1692, allocations: 442.4 kB / 0.6886 GB, free: 32.57 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000646/0.1699, allocations: 115.9 kB / 0.6888 GB, free: 32.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.29e-05/0.17, allocations: 99.27 kB / 0.6889 GB, free: 32.36 MB / 346.7 MB Notification: Performance of Backend: time 1.002e-06/0.17, allocations: 0 / 0.6889 GB, free: 32.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.1722, allocations: 442.5 kB / 0.6893 GB, free: 31.92 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006507/0.1729, allocations: 0.6759 MB / 0.6899 GB, free: 31.2 MB / 346.7 MB Notification: Performance of Templates: time 0.01673/0.1896, allocations: 7.918 MB / 0.6977 GB, free: 23.29 MB / 346.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