Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.307/2.307, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.978e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3975, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.785/2.182, allocations: 0.6121 GB / 0.9619 GB, free: 62.74 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/2.183, allocations: 90.83 kB / 0.962 GB, free: 62.69 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.163/3.346, allocations: 234.9 MB / 1.191 GB, free: 34.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.973e-06/3.346, allocations: 0 / 1.191 GB, free: 34.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.865e-05/3.346, allocations: 12 kB / 1.191 GB, free: 34.21 MB / 490.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.002781/3.349, allocations: 0.9551 MB / 1.192 GB, free: 33.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/3.349, allocations: 12.03 kB / 1.192 GB, free: 33.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/3.35, allocations: 131.2 kB / 1.192 GB, free: 33.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/3.352, allocations: 0.52 MB / 1.193 GB, free: 32.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/3.352, allocations: 27.94 kB / 1.193 GB, free: 32.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/3.352, allocations: 24 kB / 1.193 GB, free: 32.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008981/3.353, allocations: 386.5 kB / 1.193 GB, free: 32.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009651/3.354, allocations: 495.7 kB / 1.194 GB, free: 31.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/3.354, allocations: 3.938 kB / 1.194 GB, free: 31.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.677e-05/3.354, allocations: 4 kB / 1.194 GB, free: 31.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/3.354, allocations: 12 kB / 1.194 GB, free: 31.53 MB / 490.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.003468/3.357, allocations: 2.55 MB / 1.196 GB, free: 28.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/3.358, allocations: 230.7 kB / 1.197 GB, free: 28.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/3.358, allocations: 132.8 kB / 1.197 GB, free: 28.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004017/3.358, allocations: 325.6 kB / 1.197 GB, free: 28.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/3.358, allocations: 42.5 kB / 1.197 GB, free: 27.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 3.376e-06/3.358, allocations: 0 / 1.197 GB, free: 27.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=30): time 0.003904/3.362, allocations: 0.7517 MB / 1.198 GB, free: 27.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/3.362, allocations: 132.5 kB / 1.198 GB, free: 27.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/3.363, allocations: 365.1 kB / 1.198 GB, free: 26.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/3.363, allocations: 25.7 kB / 1.198 GB, free: 26.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/3.363, allocations: 349.8 kB / 1.199 GB, free: 26.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-05/3.363, allocations: 106.5 kB / 1.199 GB, free: 26.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/3.363, allocations: 3.938 kB / 1.199 GB, free: 26.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/3.364, allocations: 326.8 kB / 1.199 GB, free: 25.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/3.364, allocations: 141.1 kB / 1.199 GB, free: 25.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/3.364, allocations: 319.2 kB / 1.199 GB, free: 25.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003483/3.368, allocations: 0.6203 MB / 1.2 GB, free: 24.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/3.368, allocations: 0 / 1.2 GB, free: 24.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.004379/3.372, allocations: 0.9536 MB / 1.201 GB, free: 23.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/3.372, allocations: 11.95 kB / 1.201 GB, free: 23.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/3.372, allocations: 4 kB / 1.201 GB, free: 23.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003051/3.373, allocations: 49.42 kB / 1.201 GB, free: 23.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009124/3.374, allocations: 147.8 kB / 1.201 GB, free: 23.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00548/3.379, allocations: 17.17 MB / 1.218 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/3.38, allocations: 59.69 kB / 1.218 GB, free: 5.254 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/3.38, allocations: 52.03 kB / 1.218 GB, free: 5.203 MB / 490.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.0002905/3.38, allocations: 142.5 kB / 1.218 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003827/3.384, allocations: 0.763 MB / 1.219 GB, free: 4.285 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/3.384, allocations: 51.39 kB / 1.219 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/3.387, allocations: 0.6035 MB / 1.22 GB, free: 3.613 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/3.387, allocations: 4 kB / 1.22 GB, free: 3.609 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/3.387, allocations: 0 / 1.22 GB, free: 3.609 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/3.387, allocations: 4 kB / 1.22 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/3.389, allocations: 1.059 MB / 1.221 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/3.389, allocations: 224 / 1.221 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/3.39, allocations: 59.91 kB / 1.221 GB, free: 2.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/3.39, allocations: 44.83 kB / 1.221 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/3.39, allocations: 7.984 kB / 1.221 GB, free: 2.332 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005963/3.391, allocations: 0.603 MB / 1.221 GB, free: 1.703 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/3.391, allocations: 4.031 kB / 1.221 GB, free: 1.699 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/3.392, allocations: 0.5999 MB / 1.222 GB, free: 1.016 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/3.393, allocations: 152.3 kB / 1.222 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/3.393, allocations: 7.938 kB / 1.222 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/3.393, allocations: 27.97 kB / 1.222 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/3.393, allocations: 23.97 kB / 1.222 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/3.394, allocations: 8 kB / 1.222 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004637/3.394, allocations: 298.9 kB / 1.222 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/3.394, allocations: 7.938 kB / 1.222 GB, free: 496 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.002313/3.396, allocations: 447.2 kB / 1.223 GB, free: 48 kB / 490.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.3588/3.755, allocations: 2.898 MB / 1.226 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/3.757, allocations: 331.4 kB / 1.226 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/3.757, allocations: 0 / 1.226 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005131/3.757, allocations: 116.3 kB / 1.226 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/3.76, allocations: 217.4 kB / 1.226 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/3.79, allocations: 2.485 MB / 1.229 GB, free: 99.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/3.791, allocations: 0.8672 MB / 1.23 GB, free: 99.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000954/3.792, allocations: 220.8 kB / 1.23 GB, free: 99.27 MB / 490.7 MB Notification: Performance of SimCode: time 2.284e-06/3.792, allocations: 3.844 kB / 1.23 GB, free: 99.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.305/7.097, allocations: 26.56 MB / 1.256 GB, free: 98.55 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat