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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.26/2.26, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007445/0.0007446, allocations: 16 kB / 314.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3346, allocations: 54.88 MB / 369.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5446/0.8792, allocations: 146.8 MB / 0.5039 GB, free: 11.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.8907, allocations: 7.002 MB / 0.5108 GB, free: 10.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007823/0.8915, allocations: 26.41 kB / 0.5108 GB, free: 10.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009656/0.8925, allocations: 248.8 kB / 0.511 GB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.8972, allocations: 1.332 MB / 0.5123 GB, free: 10.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.9001, allocations: 0.8341 MB / 0.5131 GB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.902, allocations: 0.9096 MB / 0.514 GB, free: 10.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006278/0.9027, allocations: 348 kB / 0.5144 GB, free: 9.883 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.9037, allocations: 0.4959 MB / 0.5149 GB, free: 9.746 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004949/0.9043, allocations: 326.5 kB / 0.5152 GB, free: 9.633 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.44e-05/0.9044, allocations: 23.12 kB / 0.5152 GB, free: 9.633 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/0.9085, allocations: 1.882 MB / 0.517 GB, free: 9.125 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.9088, allocations: 124.8 kB / 0.5171 GB, free: 9.078 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.9091, allocations: 144.4 kB / 0.5173 GB, free: 9.027 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.9117, allocations: 1.202 MB / 0.5185 GB, free: 8.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.745e-06/0.9118, allocations: 0 / 0.5185 GB, free: 8.516 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.05e-05/0.9118, allocations: 0 / 0.5185 GB, free: 8.516 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.9118, allocations: 4 kB / 0.5185 GB, free: 8.512 MB / 410.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.002213/0.914, allocations: 0.9622 MB / 0.5194 GB, free: 7.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.9141, allocations: 7.688 kB / 0.5194 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.9154, allocations: 136.1 kB / 0.5195 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009531/0.9163, allocations: 469.8 kB / 0.52 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.9164, allocations: 30.75 kB / 0.52 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-05/0.9165, allocations: 44.64 kB / 0.5201 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.9179, allocations: 0.5864 MB / 0.5206 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.9179, allocations: 3.984 kB / 0.5206 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.918, allocations: 18.66 kB / 0.5206 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.918, allocations: 10.88 kB / 0.5207 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.9192, allocations: 474.3 kB / 0.5211 GB, free: 7.078 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.004132/0.9233, allocations: 2.613 MB / 0.5237 GB, free: 4.984 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009151/0.9243, allocations: 329 kB / 0.524 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000474/0.9248, allocations: 332.2 kB / 0.5243 GB, free: 4.605 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.9248, allocations: 41.23 kB / 0.5243 GB, free: 4.562 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 4.777e-06/0.9249, allocations: 0 / 0.5243 GB, free: 4.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002074/0.9269, allocations: 0.7006 MB / 0.525 GB, free: 4.309 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.9271, allocations: 137.8 kB / 0.5251 GB, free: 4.148 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005922/0.9277, allocations: 406 kB / 0.5255 GB, free: 3.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.9278, allocations: 33.36 kB / 0.5256 GB, free: 3.949 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.928, allocations: 339.4 kB / 0.5259 GB, free: 3.699 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.9282, allocations: 118.9 kB / 0.526 GB, free: 3.613 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.9282, allocations: 12.03 kB / 0.526 GB, free: 3.609 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.9284, allocations: 329.8 kB / 0.5263 GB, free: 3.293 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.9288, allocations: 148.8 kB / 0.5265 GB, free: 3.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.9294, allocations: 328.3 kB / 0.5268 GB, free: 3.023 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.9299, allocations: 200.1 kB / 0.527 GB, free: 2.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.299e-06/0.9299, allocations: 2.531 kB / 0.527 GB, free: 2.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001319/0.9312, allocations: 0.5416 MB / 0.5275 GB, free: 2.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.9313, allocations: 5.094 kB / 0.5275 GB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.9313, allocations: 5.875 kB / 0.5275 GB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/0.9333, allocations: 289.6 kB / 0.5278 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.9338, allocations: 119.9 kB / 0.5279 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000649/0.9345, allocations: 0.599 MB / 0.5285 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.935, allocations: 56.55 kB / 0.5285 GB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/0.9351, allocations: 51.98 kB / 0.5286 GB, free: 2.148 MB / 410.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 prepare postOptimizeDAE: time 0.0003474/0.9355, allocations: 188.5 kB / 0.5288 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.9356, allocations: 46.56 kB / 0.5288 GB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.9379, allocations: 0.7278 MB / 0.5295 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.194e-06/0.9379, allocations: 3 kB / 0.5295 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.287e-06/0.938, allocations: 2.938 kB / 0.5295 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.19e-06/0.938, allocations: 0 / 0.5295 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.9405, allocations: 1.209 MB / 0.5307 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.9405, allocations: 6.875 kB / 0.5307 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.9408, allocations: 62.94 kB / 0.5308 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003824/0.9447, allocations: 0.5331 MB / 0.5313 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/0.9448, allocations: 13.06 kB / 0.5313 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006367/0.9454, allocations: 0.6049 MB / 0.5319 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.842e-06/0.9455, allocations: 2.5 kB / 0.5319 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.9466, allocations: 0.5437 MB / 0.5324 GB, free: 0 / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.9469, allocations: 143.4 kB / 0.5326 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.947, allocations: 9.375 kB / 0.5326 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.9474, allocations: 47.27 kB / 0.5326 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.9475, allocations: 23.97 kB / 0.5327 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/0.9476, allocations: 23.45 kB / 0.5327 GB, free: 15.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004918/0.9481, allocations: 306.7 kB / 0.533 GB, free: 15.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.9481, allocations: 0 / 0.533 GB, free: 15.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001314/0.9494, allocations: 377.6 kB / 0.5333 GB, free: 15.62 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 29 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001463/0.9509, allocations: 499.2 kB / 0.5338 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.9521, allocations: 404.5 kB / 0.5342 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.485e-06/0.9521, allocations: 0 / 0.5342 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004981/0.9526, allocations: 185.4 kB / 0.5344 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.9541, allocations: 243 kB / 0.5346 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.9562, allocations: 1.126 MB / 0.5357 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/0.9569, allocations: 0.864 MB / 0.5365 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.9574, allocations: 99.67 kB / 0.5366 GB, free: 13.65 MB / 426.7 MB Notification: Performance of SimCode: time 1.466e-06/0.9574, allocations: 0 / 0.5366 GB, free: 13.65 MB / 426.7 MB Notification: Performance of Templates: time 0.0282/0.9856, allocations: 14.38 MB / 0.5507 GB, free: 15.93 MB / 442.7 MB