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.Bends.EdgedBend.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.Bends.EdgedBend,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.Bends.EdgedBend") Notification: Performance of loadModel(ModelicaTest): time 1.785/1.785, allocations: 209.3 MB / 224.8 MB, free: 212 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009549/0.0009549, allocations: 12 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3207, allocations: 48.71 MB / 331.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4756/0.7964, allocations: 146.8 MB / 478 MB, free: 3.02 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.8078, allocations: 6.979 MB / 485 MB, free: 2.953 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006378/0.8085, allocations: 26.16 kB / 485 MB, free: 2.953 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008149/0.8093, allocations: 246.6 kB / 485.2 MB, free: 2.953 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004509/0.8138, allocations: 1.343 MB / 486.6 MB, free: 2.918 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.8167, allocations: 0.8385 MB / 487.4 MB, free: 2.895 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.8186, allocations: 0.9023 MB / 488.3 MB, free: 2.891 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006242/0.8193, allocations: 343.6 kB / 488.7 MB, free: 2.863 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.8204, allocations: 0.4971 MB / 489.1 MB, free: 2.859 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.8209, allocations: 324.1 kB / 489.5 MB, free: 2.859 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.871e-05/0.8211, allocations: 25.72 kB / 489.5 MB, free: 2.859 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004408/0.8255, allocations: 1.88 MB / 491.4 MB, free: 2.855 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.8258, allocations: 127.5 kB / 491.5 MB, free: 2.855 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.8261, allocations: 150.4 kB / 491.6 MB, free: 2.824 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.8287, allocations: 1.194 MB / 492.8 MB, free: 2.742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.734e-06/0.8287, allocations: 0 / 492.8 MB, free: 2.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.609e-06/0.8287, allocations: 0 / 492.8 MB, free: 2.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.8287, allocations: 0 / 492.8 MB, free: 2.742 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.002066/0.8308, allocations: 0.9639 MB / 493.8 MB, free: 18.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.8308, allocations: 9 kB / 493.8 MB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.8322, allocations: 137.4 kB / 493.9 MB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/0.833, allocations: 470.5 kB / 494.4 MB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.8331, allocations: 32.28 kB / 494.4 MB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-05/0.8332, allocations: 44.5 kB / 494.5 MB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.8345, allocations: 0.5899 MB / 495.1 MB, free: 17.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.8345, allocations: 0 / 495.1 MB, free: 17.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/0.8346, allocations: 19.91 kB / 495.1 MB, free: 17.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.8346, allocations: 11.06 kB / 495.1 MB, free: 17.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.8357, allocations: 470.7 kB / 495.6 MB, free: 17.69 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.003428/0.8392, allocations: 2.613 MB / 498.2 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.84, allocations: 330.7 kB / 498.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004734/0.8405, allocations: 329.5 kB / 498.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.8406, allocations: 39.62 kB / 498.9 MB, free: 15.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.693e-06/0.8406, allocations: 4 kB / 498.9 MB, free: 15.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002014/0.8426, allocations: 0.697 MB / 499.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.8428, allocations: 134.5 kB / 499.7 MB, free: 15.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.8433, allocations: 412.8 kB / 0.4884 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.8434, allocations: 32.39 kB / 0.4884 GB, free: 15.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.8436, allocations: 336.2 kB / 0.4887 GB, free: 14.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.8437, allocations: 119.5 kB / 0.4888 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.8438, allocations: 7.906 kB / 0.4888 GB, free: 14.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.844, allocations: 334.3 kB / 0.4892 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.8443, allocations: 151 kB / 0.4893 GB, free: 14.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.8448, allocations: 320.9 kB / 0.4896 GB, free: 14.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.8453, allocations: 205.8 kB / 0.4898 GB, free: 14.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.555e-06/0.8453, allocations: 4.703 kB / 0.4898 GB, free: 14.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00126/0.8465, allocations: 0.5461 MB / 0.4903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.8466, allocations: 10.66 kB / 0.4904 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.8466, allocations: 5.375 kB / 0.4904 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.8484, allocations: 289.5 kB / 0.4906 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.8489, allocations: 122.6 kB / 0.4908 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006109/0.8495, allocations: 0.5846 MB / 0.4913 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.85, allocations: 64.38 kB / 0.4914 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.033e-05/0.8501, allocations: 47.28 kB / 0.4914 GB, free: 13.6 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.0003471/0.8505, allocations: 189.5 kB / 0.4916 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.8506, allocations: 46.19 kB / 0.4917 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.8527, allocations: 0.7309 MB / 0.4924 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.084e-06/0.8528, allocations: 5.656 kB / 0.4924 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.8528, allocations: 0 / 0.4924 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.626e-06/0.8528, allocations: 7.094 kB / 0.4924 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.855, allocations: 1.203 MB / 0.4936 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.855, allocations: 3.25 kB / 0.4936 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.8553, allocations: 64.28 kB / 0.4936 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003625/0.8589, allocations: 0.5426 MB / 0.4941 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.859, allocations: 11.53 kB / 0.4942 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000604/0.8596, allocations: 0.5895 MB / 0.4947 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.457e-06/0.8597, allocations: 5.281 kB / 0.4947 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.8607, allocations: 0.5562 MB / 0.4953 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.8609, allocations: 138.8 kB / 0.4954 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.8611, allocations: 8.688 kB / 0.4954 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.8615, allocations: 40.94 kB / 0.4955 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.8616, allocations: 23.88 kB / 0.4955 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.8616, allocations: 28.98 kB / 0.4955 GB, free: 11.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004607/0.8621, allocations: 310.3 kB / 0.4958 GB, free: 11.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.8621, allocations: 0 / 0.4958 GB, free: 11.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00122/0.8633, allocations: 372.5 kB / 0.4962 GB, free: 11.71 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.00132/0.8647, allocations: 0.4965 MB / 0.4967 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.8657, allocations: 403 kB / 0.497 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.888e-06/0.8658, allocations: 3 kB / 0.497 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004766/0.8663, allocations: 184.7 kB / 0.4972 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.8677, allocations: 234.2 kB / 0.4974 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.8696, allocations: 1.126 MB / 0.4985 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.8702, allocations: 0.8661 MB / 0.4994 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/0.8707, allocations: 96.95 kB / 0.4995 GB, free: 10.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.857e-06/0.8707, allocations: 0 / 0.4995 GB, free: 10.14 MB / 410.7 MB Notification: Performance of Templates: time 0.02622/0.8969, allocations: 14.39 MB / 0.5135 GB, free: 3.156 MB / 410.7 MB