Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadModel(ModelicaTest): time 2.253/2.253, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.381e-05/1.389e-05, allocations: 224 / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2751, allocations: 54.87 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.412/1.688, allocations: 0.6121 GB / 0.9618 GB, free: 19.08 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.688, allocations: 96.34 kB / 0.9619 GB, free: 19.03 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.221/2.909, allocations: 234.8 MB / 1.191 GB, free: 91.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.915e-06/2.909, allocations: 0 / 1.191 GB, free: 91.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.409e-05/2.909, allocations: 18.23 kB / 1.191 GB, free: 91.02 MB / 474.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.002234/2.911, allocations: 0.9553 MB / 1.192 GB, free: 90.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/2.911, allocations: 7.75 kB / 1.192 GB, free: 90.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/2.913, allocations: 137 kB / 1.192 GB, free: 90.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/2.914, allocations: 0.5199 MB / 1.193 GB, free: 90.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/2.914, allocations: 11.56 kB / 1.193 GB, free: 90.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/2.914, allocations: 23.59 kB / 1.193 GB, free: 90.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008545/2.915, allocations: 390.4 kB / 1.193 GB, free: 90.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/2.916, allocations: 494.1 kB / 1.194 GB, free: 90.22 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/2.916, allocations: 6.688 kB / 1.194 GB, free: 90.22 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/2.916, allocations: 0 / 1.194 GB, free: 90.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/2.916, allocations: 12.94 kB / 1.194 GB, free: 90.22 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002921/2.919, allocations: 2.557 MB / 1.196 GB, free: 88.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/2.919, allocations: 230.8 kB / 1.196 GB, free: 88.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/2.92, allocations: 128.4 kB / 1.197 GB, free: 88.47 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000346/2.92, allocations: 325.8 kB / 1.197 GB, free: 88.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/2.92, allocations: 40.28 kB / 1.197 GB, free: 88.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 3.434e-06/2.92, allocations: 0 / 1.197 GB, free: 88.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.003392/2.924, allocations: 0.7525 MB / 1.198 GB, free: 88.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/2.924, allocations: 138.3 kB / 1.198 GB, free: 87.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/2.924, allocations: 362.4 kB / 1.198 GB, free: 87.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/2.924, allocations: 29.67 kB / 1.198 GB, free: 87.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/2.924, allocations: 343.6 kB / 1.198 GB, free: 87.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/2.924, allocations: 105.8 kB / 1.199 GB, free: 87.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/2.925, allocations: 3.219 kB / 1.199 GB, free: 87.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/2.925, allocations: 333.4 kB / 1.199 GB, free: 87.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/2.925, allocations: 145.2 kB / 1.199 GB, free: 87.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/2.925, allocations: 309.8 kB / 1.199 GB, free: 86.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/2.929, allocations: 0.6209 MB / 1.2 GB, free: 86.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/2.929, allocations: 7.328 kB / 1.2 GB, free: 86.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.004163/2.933, allocations: 0.9447 MB / 1.201 GB, free: 86.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/2.933, allocations: 10.28 kB / 1.201 GB, free: 86.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/2.933, allocations: 7.25 kB / 1.201 GB, free: 86.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002826/2.933, allocations: 54.53 kB / 1.201 GB, free: 86.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/2.934, allocations: 141.2 kB / 1.201 GB, free: 86.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/2.939, allocations: 17.17 MB / 1.218 GB, free: 69.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000689/2.939, allocations: 67.14 kB / 1.218 GB, free: 69.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.97e-05/2.939, allocations: 52.2 kB / 1.218 GB, free: 69.31 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.K:VARIABLE(unit = "m" ) = fitting1.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.delta:VARIABLE(unit = "rad" ) = fitting1.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.d_hyd "Hydraulic diameter" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.K:VARIABLE(unit = "m" ) = fitting2.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.delta:VARIABLE(unit = "rad" ) = fitting2.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.d_hyd "Hydraulic diameter" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 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.0002591/2.94, allocations: 138.3 kB / 1.218 GB, free: 69.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/2.94, allocations: 51.89 kB / 1.218 GB, free: 69.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/2.942, allocations: 0.6051 MB / 1.219 GB, free: 69.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.413e-06/2.942, allocations: 7.719 kB / 1.219 GB, free: 69.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.262e-06/2.942, allocations: 0 / 1.219 GB, free: 69.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.682e-06/2.942, allocations: 3.609 kB / 1.219 GB, free: 69.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/2.945, allocations: 1.067 MB / 1.22 GB, free: 68.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/2.945, allocations: 3.969 kB / 1.22 GB, free: 68.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/2.945, allocations: 54.11 kB / 1.22 GB, free: 68.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/2.945, allocations: 47.17 kB / 1.22 GB, free: 68.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/2.945, allocations: 3.938 kB / 1.22 GB, free: 68.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005671/2.946, allocations: 0.6079 MB / 1.22 GB, free: 68.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.683e-06/2.946, allocations: 0 / 1.22 GB, free: 68.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/2.947, allocations: 0.5905 MB / 1.221 GB, free: 67.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/2.948, allocations: 153.1 kB / 1.221 GB, free: 67.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/2.948, allocations: 7.547 kB / 1.221 GB, free: 67.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/2.948, allocations: 28.91 kB / 1.221 GB, free: 67.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/2.948, allocations: 30.44 kB / 1.221 GB, free: 67.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/2.948, allocations: 11.5 kB / 1.221 GB, free: 67.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004056/2.949, allocations: 301.8 kB / 1.222 GB, free: 67.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.652e-06/2.949, allocations: 0 / 1.222 GB, free: 67.47 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002101/2.951, allocations: 445.8 kB / 1.222 GB, free: 67.41 MB / 474.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.002598/2.953, allocations: 1.398 MB / 1.223 GB, free: 67.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009245/2.954, allocations: 330.3 kB / 1.224 GB, free: 67.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.127e-06/2.954, allocations: 0 / 1.224 GB, free: 67.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002742/2.955, allocations: 116.3 kB / 1.224 GB, free: 67.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/2.956, allocations: 211.2 kB / 1.224 GB, free: 67.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00781/2.964, allocations: 2.256 MB / 1.226 GB, free: 66.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/2.964, allocations: 0.8591 MB / 1.227 GB, free: 66.15 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/2.965, allocations: 99.95 kB / 1.227 GB, free: 66.14 MB / 474.7 MB Notification: Performance of SimCode: time 1.841e-06/2.965, allocations: 0 / 1.227 GB, free: 66.14 MB / 474.7 MB Notification: Performance of Templates: time 0.0337/2.999, allocations: 24.23 MB / 1.251 GB, free: 65.11 MB / 474.7 MB