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.CurvedBend.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.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.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadModel(ModelicaTest): time 2.002/2.002, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.909e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2622, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.55/1.813, allocations: 0.6061 GB / 0.9186 GB, free: 111.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.813, allocations: 94.56 kB / 0.9187 GB, free: 111.6 MB / 426.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 0.9535/2.766, allocations: 239.8 MB / 1.153 GB, free: 79.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/2.766, allocations: 0 / 1.153 GB, free: 79.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.986e-05/2.767, allocations: 15.03 kB / 1.153 GB, free: 79.52 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.002051/2.769, allocations: 0.9588 MB / 1.154 GB, free: 78.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/2.769, allocations: 11 kB / 1.154 GB, free: 78.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/2.77, allocations: 134 kB / 1.154 GB, free: 78.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/2.771, allocations: 0.5374 MB / 1.155 GB, free: 78.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/2.771, allocations: 11.38 kB / 1.155 GB, free: 78.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/2.771, allocations: 26.19 kB / 1.155 GB, free: 78.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008291/2.772, allocations: 385.8 kB / 1.155 GB, free: 78.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/2.773, allocations: 495.8 kB / 1.155 GB, free: 77.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/2.773, allocations: 0 / 1.155 GB, free: 77.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/2.773, allocations: 0 / 1.155 GB, free: 77.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/2.773, allocations: 20.59 kB / 1.155 GB, free: 77.8 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.002732/2.776, allocations: 2.562 MB / 1.158 GB, free: 75.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/2.776, allocations: 233.8 kB / 1.158 GB, free: 75.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/2.776, allocations: 137.7 kB / 1.158 GB, free: 75.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/2.777, allocations: 326.8 kB / 1.159 GB, free: 74.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/2.777, allocations: 38.53 kB / 1.159 GB, free: 74.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.632e-06/2.777, allocations: 0 / 1.159 GB, free: 74.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.003564/2.78, allocations: 0.7574 MB / 1.159 GB, free: 74.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/2.78, allocations: 136.4 kB / 1.159 GB, free: 74.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/2.781, allocations: 385.4 kB / 1.16 GB, free: 74.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/2.781, allocations: 25.7 kB / 1.16 GB, free: 74.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/2.781, allocations: 340.8 kB / 1.16 GB, free: 73.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/2.781, allocations: 111.3 kB / 1.16 GB, free: 73.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/2.781, allocations: 0 / 1.16 GB, free: 73.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.235e-05/2.781, allocations: 326.7 kB / 1.161 GB, free: 73.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/2.782, allocations: 166.5 kB / 1.161 GB, free: 73.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/2.782, allocations: 325.7 kB / 1.161 GB, free: 73.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003325/2.785, allocations: 0.6426 MB / 1.162 GB, free: 72.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.307e-06/2.785, allocations: 7.812 kB / 1.162 GB, free: 72.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.004133/2.79, allocations: 0.9954 MB / 1.163 GB, free: 72.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/2.79, allocations: 4.625 kB / 1.163 GB, free: 72.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/2.79, allocations: 8 kB / 1.163 GB, free: 72.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/2.79, allocations: 52.89 kB / 1.163 GB, free: 72.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/2.79, allocations: 147.8 kB / 1.163 GB, free: 71.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005784/2.796, allocations: 22.7 MB / 1.185 GB, free: 47.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006902/2.797, allocations: 66.56 kB / 1.185 GB, free: 47.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/2.797, allocations: 51.64 kB / 1.185 GB, free: 47.7 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.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.0002762/2.797, allocations: 149.7 kB / 1.185 GB, free: 47.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/2.798, allocations: 54.5 kB / 1.185 GB, free: 47.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/2.8, allocations: 0.6016 MB / 1.186 GB, free: 46.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.617e-06/2.8, allocations: 7.938 kB / 1.186 GB, free: 46.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.492e-06/2.8, allocations: 3.953 kB / 1.186 GB, free: 46.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.306e-06/2.8, allocations: 7.547 kB / 1.186 GB, free: 46.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/2.802, allocations: 1.078 MB / 1.187 GB, free: 45.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.606e-06/2.802, allocations: 4 kB / 1.187 GB, free: 45.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/2.802, allocations: 55.86 kB / 1.187 GB, free: 45.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/2.803, allocations: 48.67 kB / 1.187 GB, free: 45.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/2.803, allocations: 11.98 kB / 1.187 GB, free: 45.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005458/2.803, allocations: 0.6027 MB / 1.188 GB, free: 45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.555e-06/2.803, allocations: 0 / 1.188 GB, free: 45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/2.805, allocations: 0.6088 MB / 1.188 GB, free: 44.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/2.805, allocations: 152.3 kB / 1.188 GB, free: 44.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/2.805, allocations: 0 / 1.188 GB, free: 44.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/2.806, allocations: 27.28 kB / 1.189 GB, free: 44.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/2.806, allocations: 31.86 kB / 1.189 GB, free: 44.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/2.806, allocations: 12 kB / 1.189 GB, free: 44.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004045/2.806, allocations: 310.1 kB / 1.189 GB, free: 43.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.01e-07/2.806, allocations: 0 / 1.189 GB, free: 43.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002079/2.808, allocations: 443.3 kB / 1.189 GB, free: 43.34 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.002352/2.811, allocations: 1.387 MB / 1.191 GB, free: 42.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008504/2.811, allocations: 358 kB / 1.191 GB, free: 41.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.605e-06/2.811, allocations: 3.938 kB / 1.191 GB, free: 41.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/2.812, allocations: 127.8 kB / 1.191 GB, free: 41.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/2.813, allocations: 211.2 kB / 1.191 GB, free: 41.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007228/2.82, allocations: 2.26 MB / 1.194 GB, free: 39.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/2.821, allocations: 0.859 MB / 1.194 GB, free: 38.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/2.821, allocations: 97.86 kB / 1.194 GB, free: 38.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.686e-06/2.821, allocations: 0 / 1.194 GB, free: 38.37 MB / 426.7 MB Notification: Performance of Templates: time 0.03245/2.854, allocations: 26.7 MB / 1.221 GB, free: 11.73 MB / 426.7 MB