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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.98/1.98, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.889e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2639, allocations: 48.7 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.563/1.827, allocations: 0.6053 GB / 0.9178 GB, free: 111.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.827, allocations: 93.14 kB / 0.9179 GB, free: 111.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9351/2.762, allocations: 234.8 MB / 1.147 GB, free: 80.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.668e-06/2.762, allocations: 0 / 1.147 GB, free: 80.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.538e-05/2.762, allocations: 15.62 kB / 1.147 GB, free: 80.91 MB / 426.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.002176/2.765, allocations: 0.9583 MB / 1.148 GB, free: 80.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/2.765, allocations: 7.281 kB / 1.148 GB, free: 80.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/2.766, allocations: 135.4 kB / 1.148 GB, free: 80.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/2.767, allocations: 0.5227 MB / 1.149 GB, free: 79.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/2.767, allocations: 18.33 kB / 1.149 GB, free: 79.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/2.767, allocations: 22.41 kB / 1.149 GB, free: 79.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000844/2.768, allocations: 394.3 kB / 1.149 GB, free: 79.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008646/2.769, allocations: 492.2 kB / 1.15 GB, free: 79.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/2.769, allocations: 0 / 1.15 GB, free: 79.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/2.769, allocations: 3.875 kB / 1.15 GB, free: 79.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/2.769, allocations: 11.53 kB / 1.15 GB, free: 79.51 MB / 426.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.002876/2.772, allocations: 2.565 MB / 1.152 GB, free: 77.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/2.772, allocations: 233.3 kB / 1.152 GB, free: 77.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/2.773, allocations: 121.5 kB / 1.152 GB, free: 77.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/2.773, allocations: 328.2 kB / 1.153 GB, free: 76.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/2.773, allocations: 44.53 kB / 1.153 GB, free: 76.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.313e-06/2.773, allocations: 0 / 1.153 GB, free: 76.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.003313/2.777, allocations: 0.7462 MB / 1.154 GB, free: 76.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/2.777, allocations: 136.4 kB / 1.154 GB, free: 76.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004924/2.777, allocations: 369.6 kB / 1.154 GB, free: 76.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/2.777, allocations: 28.8 kB / 1.154 GB, free: 76.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/2.777, allocations: 339.3 kB / 1.154 GB, free: 76.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.991e-05/2.777, allocations: 108.1 kB / 1.155 GB, free: 75.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/2.777, allocations: 0 / 1.155 GB, free: 75.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/2.778, allocations: 328.2 kB / 1.155 GB, free: 75.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/2.778, allocations: 141.9 kB / 1.155 GB, free: 75.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/2.778, allocations: 319.1 kB / 1.155 GB, free: 75.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/2.782, allocations: 0.624 MB / 1.156 GB, free: 74.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.29e-06/2.782, allocations: 0 / 1.156 GB, free: 74.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00409/2.786, allocations: 0.9515 MB / 1.157 GB, free: 74.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/2.786, allocations: 7.719 kB / 1.157 GB, free: 74.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/2.786, allocations: 3.781 kB / 1.157 GB, free: 74.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/2.786, allocations: 47.33 kB / 1.157 GB, free: 74.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/2.787, allocations: 145.9 kB / 1.157 GB, free: 74.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004681/2.791, allocations: 17.17 MB / 1.174 GB, free: 56.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/2.792, allocations: 62.72 kB / 1.174 GB, free: 56.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/2.792, allocations: 52.3 kB / 1.174 GB, free: 56.52 MB / 426.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.793, allocations: 150.8 kB / 1.174 GB, free: 56.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/2.793, allocations: 42.34 kB / 1.174 GB, free: 56.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/2.795, allocations: 0.6023 MB / 1.175 GB, free: 56.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.788e-06/2.795, allocations: 3.312 kB / 1.175 GB, free: 56.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.631e-06/2.795, allocations: 3.875 kB / 1.175 GB, free: 56.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.891e-06/2.795, allocations: 3.984 kB / 1.175 GB, free: 56.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/2.798, allocations: 1.063 MB / 1.176 GB, free: 55.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.138e-06/2.798, allocations: 4.969 kB / 1.176 GB, free: 55.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/2.798, allocations: 50.69 kB / 1.176 GB, free: 55.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/2.798, allocations: 50.64 kB / 1.176 GB, free: 55.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/2.798, allocations: 7.344 kB / 1.176 GB, free: 55.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005661/2.799, allocations: 0.5949 MB / 1.176 GB, free: 54.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.286e-06/2.799, allocations: 7.891 kB / 1.176 GB, free: 54.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/2.8, allocations: 0.6013 MB / 1.177 GB, free: 54.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/2.801, allocations: 147.5 kB / 1.177 GB, free: 53.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/2.801, allocations: 3.688 kB / 1.177 GB, free: 53.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/2.801, allocations: 37.11 kB / 1.177 GB, free: 53.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/2.801, allocations: 27.69 kB / 1.177 GB, free: 53.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/2.801, allocations: 13.94 kB / 1.177 GB, free: 53.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000422/2.802, allocations: 295 kB / 1.177 GB, free: 53.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.27e-07/2.802, allocations: 0 / 1.177 GB, free: 53.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002063/2.804, allocations: 444.5 kB / 1.178 GB, free: 53.55 MB / 426.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.00255/2.806, allocations: 1.391 MB / 1.179 GB, free: 53.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009353/2.807, allocations: 332.7 kB / 1.18 GB, free: 52.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.378e-06/2.807, allocations: 0 / 1.18 GB, free: 52.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/2.808, allocations: 116.4 kB / 1.18 GB, free: 52.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/2.809, allocations: 221.2 kB / 1.18 GB, free: 52.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/2.817, allocations: 2.25 MB / 1.182 GB, free: 50.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/2.817, allocations: 0.8578 MB / 1.183 GB, free: 50.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/2.818, allocations: 96.58 kB / 1.183 GB, free: 49.96 MB / 426.7 MB Notification: Performance of SimCode: time 2.509e-06/2.818, allocations: 0 / 1.183 GB, free: 49.96 MB / 426.7 MB Notification: Performance of Templates: time 0.03126/2.849, allocations: 24.23 MB / 1.207 GB, free: 25.95 MB / 426.7 MB