Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 1.857/1.857, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004389, allocations: 8 kB / 282.5 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2791, allocations: 48.71 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4765/0.7557, allocations: 146.8 MB / 478 MB, free: 3.031 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.7661, allocations: 6.637 MB / 484.6 MB, free: 2.965 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006796/0.7668, allocations: 25.84 kB / 484.7 MB, free: 2.965 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.7677, allocations: 254 kB / 484.9 MB, free: 2.965 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.7722, allocations: 1.273 MB / 486.2 MB, free: 2.941 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.7747, allocations: 0.6082 MB / 486.8 MB, free: 2.922 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001966/0.7766, allocations: 0.9326 MB / 487.7 MB, free: 2.922 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006416/0.7773, allocations: 348.4 kB / 488.1 MB, free: 2.887 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.7785, allocations: 0.4971 MB / 488.6 MB, free: 2.887 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005094/0.779, allocations: 331.3 kB / 488.9 MB, free: 2.883 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.7792, allocations: 26.59 kB / 488.9 MB, free: 2.883 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00345/0.7826, allocations: 1.178 MB / 490.1 MB, free: 2.883 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.7829, allocations: 125 kB / 490.2 MB, free: 2.883 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.7832, allocations: 145.6 kB / 490.4 MB, free: 2.852 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.7856, allocations: 1.075 MB / 491.4 MB, free: 2.773 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.7857, allocations: 0 / 491.4 MB, free: 2.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7857, allocations: 3.938 kB / 491.4 MB, free: 2.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.7857, allocations: 4 kB / 491.4 MB, free: 2.766 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002096/0.7878, allocations: 0.9441 MB / 492.4 MB, free: 18.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7879, allocations: 8.062 kB / 492.4 MB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.7891, allocations: 145.1 kB / 492.5 MB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008815/0.79, allocations: 482 kB / 493 MB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.7901, allocations: 29.19 kB / 493 MB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.7902, allocations: 44.36 kB / 493.1 MB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.7916, allocations: 0.591 MB / 493.7 MB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.7916, allocations: 0 / 493.7 MB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/0.7917, allocations: 18.38 kB / 493.7 MB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.7917, allocations: 15.05 kB / 493.7 MB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.7929, allocations: 485.3 kB / 494.2 MB, free: 17.73 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/0.7965, allocations: 2.626 MB / 496.8 MB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/0.7974, allocations: 334.3 kB / 497.1 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004867/0.7979, allocations: 335.6 kB / 497.5 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.7979, allocations: 38.78 kB / 497.5 MB, free: 15.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.405e-06/0.7979, allocations: 0 / 497.5 MB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002072/0.8, allocations: 0.7169 MB / 498.2 MB, free: 15.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.768e-05/0.8001, allocations: 133.4 kB / 498.3 MB, free: 15.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/0.8007, allocations: 432.6 kB / 498.8 MB, free: 15.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.8008, allocations: 31.45 kB / 498.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.8011, allocations: 349.5 kB / 499.1 MB, free: 14.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.8012, allocations: 121 kB / 499.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.8012, allocations: 9.906 kB / 499.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.8014, allocations: 328.3 kB / 499.6 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.8018, allocations: 152.1 kB / 499.7 MB, free: 14.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.8023, allocations: 328.7 kB / 0.4883 GB, free: 14.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.8027, allocations: 207.6 kB / 0.4885 GB, free: 14.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.235e-06/0.8027, allocations: 3.312 kB / 0.4885 GB, free: 14.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001272/0.804, allocations: 0.544 MB / 0.4891 GB, free: 14.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.8041, allocations: 8.156 kB / 0.4891 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.8041, allocations: 5.844 kB / 0.4891 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.806, allocations: 298.1 kB / 0.4894 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.8065, allocations: 114.7 kB / 0.4895 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006496/0.8072, allocations: 0.6007 MB / 0.4901 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.8077, allocations: 68.95 kB / 0.4901 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.723e-05/0.8078, allocations: 52.62 kB / 0.4902 GB, free: 13.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003658/0.8082, allocations: 186.2 kB / 0.4904 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.8083, allocations: 54.3 kB / 0.4904 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.8105, allocations: 0.7397 MB / 0.4911 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.8105, allocations: 1.688 kB / 0.4911 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.8105, allocations: 0 / 0.4911 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.8105, allocations: 11.84 kB / 0.4911 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.8128, allocations: 1.212 MB / 0.4923 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.34e-06/0.8128, allocations: 5.812 kB / 0.4923 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.8131, allocations: 59.33 kB / 0.4924 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003884/0.817, allocations: 0.5448 MB / 0.4929 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/0.8171, allocations: 12.16 kB / 0.4929 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006373/0.8178, allocations: 0.6091 MB / 0.4935 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.065e-06/0.8178, allocations: 2.906 kB / 0.4935 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.8189, allocations: 0.5652 MB / 0.4941 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.8191, allocations: 140.2 kB / 0.4942 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.8193, allocations: 8.531 kB / 0.4942 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.8197, allocations: 33.59 kB / 0.4943 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.8198, allocations: 29.78 kB / 0.4943 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.8198, allocations: 21.03 kB / 0.4943 GB, free: 11.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004908/0.8203, allocations: 329 kB / 0.4946 GB, free: 11.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.8203, allocations: 0 / 0.4946 GB, free: 11.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001228/0.8216, allocations: 328.8 kB / 0.4949 GB, free: 11.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.8228, allocations: 439.3 kB / 0.4954 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.8239, allocations: 409.3 kB / 0.4957 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.393e-06/0.8239, allocations: 5.188 kB / 0.4957 GB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.8244, allocations: 187.7 kB / 0.4959 GB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.8258, allocations: 243 kB / 0.4962 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.8277, allocations: 1.144 MB / 0.4973 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006055/0.8283, allocations: 0.8738 MB / 0.4981 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/0.8288, allocations: 93.97 kB / 0.4982 GB, free: 10.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.478e-06/0.8288, allocations: 0 / 0.4982 GB, free: 10.2 MB / 410.7 MB Notification: Performance of Templates: time 0.02475/0.8536, allocations: 13.84 MB / 0.5117 GB, free: 3.812 MB / 410.7 MB