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.CurvedBend.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.CurvedBend,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.CurvedBend") Notification: Performance of loadModel(ModelicaTest): time 2.225/2.225, allocations: 235.1 MB / 243 MB, free: 9.488 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.485e-05/1.492e-05, allocations: 4 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2747, allocations: 54.85 MB / 358.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.409/1.684, allocations: 0.613 GB / 0.9626 GB, free: 33.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.684, allocations: 91.94 kB / 0.9627 GB, free: 33.31 MB / 474.7 MB Error: Variable fitting1.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Error: Variable fitting2.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Notification: Performance of FrontEnd - DAE generated: time 1.293/2.977, allocations: 239.9 MB / 1.197 GB, free: 90.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.88e-06/2.977, allocations: 0 / 1.197 GB, free: 90.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.402e-05/2.977, allocations: 14.22 kB / 1.197 GB, free: 90.46 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.002382/2.979, allocations: 0.9619 MB / 1.198 GB, free: 90.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/2.979, allocations: 11.62 kB / 1.198 GB, free: 90.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/2.981, allocations: 134.4 kB / 1.198 GB, free: 90.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/2.982, allocations: 0.5252 MB / 1.199 GB, free: 89.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/2.982, allocations: 18.89 kB / 1.199 GB, free: 89.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.767e-05/2.982, allocations: 23.41 kB / 1.199 GB, free: 89.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008545/2.983, allocations: 395.5 kB / 1.199 GB, free: 89.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009114/2.984, allocations: 496.7 kB / 1.199 GB, free: 89.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/2.984, allocations: 0 / 1.199 GB, free: 89.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/2.984, allocations: 3.5 kB / 1.199 GB, free: 89.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/2.984, allocations: 13.41 kB / 1.199 GB, free: 89.7 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.003061/2.987, allocations: 2.564 MB / 1.202 GB, free: 87.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/2.988, allocations: 232.1 kB / 1.202 GB, free: 87.95 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/2.988, allocations: 132 kB / 1.202 GB, free: 87.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/2.988, allocations: 327.2 kB / 1.203 GB, free: 87.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/2.988, allocations: 37.84 kB / 1.203 GB, free: 87.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 3.299e-06/2.988, allocations: 3.438 kB / 1.203 GB, free: 87.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.003633/2.992, allocations: 0.7603 MB / 1.203 GB, free: 87.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/2.992, allocations: 132.5 kB / 1.204 GB, free: 87.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/2.993, allocations: 376.4 kB / 1.204 GB, free: 87.28 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/2.993, allocations: 32.17 kB / 1.204 GB, free: 87.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/2.993, allocations: 342 kB / 1.204 GB, free: 87.04 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/2.993, allocations: 108.9 kB / 1.204 GB, free: 86.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/2.993, allocations: 3.188 kB / 1.204 GB, free: 86.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.841e-05/2.993, allocations: 331.7 kB / 1.205 GB, free: 86.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/2.993, allocations: 162 kB / 1.205 GB, free: 86.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/2.994, allocations: 335.7 kB / 1.205 GB, free: 86.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/2.997, allocations: 0.6417 MB / 1.206 GB, free: 86.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/2.997, allocations: 6.5 kB / 1.206 GB, free: 86.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.004298/3.002, allocations: 0.9944 MB / 1.207 GB, free: 86.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/3.002, allocations: 3.938 kB / 1.207 GB, free: 86.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/3.002, allocations: 7.75 kB / 1.207 GB, free: 86.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/3.002, allocations: 48.64 kB / 1.207 GB, free: 86.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/3.003, allocations: 152.8 kB / 1.207 GB, free: 86.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006099/3.009, allocations: 22.69 MB / 1.229 GB, free: 63.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007447/3.01, allocations: 63.97 kB / 1.229 GB, free: 63.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/3.01, allocations: 51.28 kB / 1.229 GB, free: 63.11 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.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.R_0 "Curvature radius" 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.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.R_0 "Curvature radius" 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 (61): * 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): 8 * 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: 8 {1,1,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.0002807/3.01, allocations: 152.8 kB / 1.229 GB, free: 63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/3.01, allocations: 48.78 kB / 1.229 GB, free: 62.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/3.012, allocations: 0.6146 MB / 1.23 GB, free: 62.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.301e-06/3.013, allocations: 3.656 kB / 1.23 GB, free: 62.87 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.946e-06/3.013, allocations: 0 / 1.23 GB, free: 62.87 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.546e-06/3.013, allocations: 0 / 1.23 GB, free: 62.87 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/3.015, allocations: 1.079 MB / 1.231 GB, free: 62.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.042e-06/3.015, allocations: 3.938 kB / 1.231 GB, free: 62.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/3.015, allocations: 52.58 kB / 1.231 GB, free: 62.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001998/3.016, allocations: 45.89 kB / 1.231 GB, free: 62.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/3.016, allocations: 9.516 kB / 1.231 GB, free: 62.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005739/3.016, allocations: 0.6164 MB / 1.232 GB, free: 61.81 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.868e-06/3.016, allocations: 3.906 kB / 1.232 GB, free: 61.81 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/3.018, allocations: 0.6046 MB / 1.232 GB, free: 61.47 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/3.018, allocations: 148 kB / 1.233 GB, free: 61.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/3.018, allocations: 3.906 kB / 1.233 GB, free: 61.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/3.019, allocations: 30.42 kB / 1.233 GB, free: 61.35 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/3.019, allocations: 26.52 kB / 1.233 GB, free: 61.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/3.019, allocations: 11.17 kB / 1.233 GB, free: 61.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004761/3.019, allocations: 313.2 kB / 1.233 GB, free: 61.26 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.94e-07/3.019, allocations: 3.469 kB / 1.233 GB, free: 61.26 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002581/3.022, allocations: 444.9 kB / 1.233 GB, free: 61.23 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.002946/3.025, allocations: 1.389 MB / 1.235 GB, free: 60.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009713/3.026, allocations: 362.8 kB / 1.235 GB, free: 60.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.316e-06/3.026, allocations: 3.594 kB / 1.235 GB, free: 60.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/3.026, allocations: 112.2 kB / 1.235 GB, free: 60.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/3.028, allocations: 215.8 kB / 1.235 GB, free: 60.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00852/3.036, allocations: 2.265 MB / 1.238 GB, free: 60.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/3.037, allocations: 0.867 MB / 1.238 GB, free: 59.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/3.037, allocations: 93.44 kB / 1.239 GB, free: 59.96 MB / 474.7 MB Notification: Performance of SimCode: time 1.756e-06/3.037, allocations: 0 / 1.239 GB, free: 59.96 MB / 474.7 MB Notification: Performance of Templates: time 0.0366/3.074, allocations: 26.72 MB / 1.265 GB, free: 58.91 MB / 474.7 MB