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.186/2.186, allocations: 235 MB / 248.1 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.698e-05/2.713e-05, allocations: 4 kB / 309.7 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3149, allocations: 54.85 MB / 364.6 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.425/1.74, allocations: 0.6128 GB / 0.9688 GB, free: 138.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/1.741, allocations: 93.12 kB / 0.9689 GB, free: 138.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9616/2.702, allocations: 237.6 MB / 1.201 GB, free: 94.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.843e-06/2.702, allocations: 0 / 1.201 GB, free: 94.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.904e-05/2.702, allocations: 19.45 kB / 1.201 GB, free: 94.45 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.002026/2.704, allocations: 0.95 MB / 1.202 GB, free: 93.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/2.704, allocations: 8.031 kB / 1.202 GB, free: 93.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/2.706, allocations: 139.1 kB / 1.202 GB, free: 93.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/2.707, allocations: 0.5261 MB / 1.203 GB, free: 92.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/2.707, allocations: 33 kB / 1.203 GB, free: 92.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.04e-05/2.707, allocations: 40 kB / 1.203 GB, free: 92.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/2.708, allocations: 0.5646 MB / 1.203 GB, free: 92.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/2.708, allocations: 0 / 1.203 GB, free: 92.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/2.708, allocations: 24 kB / 1.203 GB, free: 92.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/2.708, allocations: 8 kB / 1.203 GB, free: 92.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/2.709, allocations: 434.9 kB / 1.204 GB, free: 91.63 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.002826/2.712, allocations: 2.591 MB / 1.206 GB, free: 88.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/2.713, allocations: 293.2 kB / 1.206 GB, free: 88.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/2.713, allocations: 149.4 kB / 1.207 GB, free: 88.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003428/2.713, allocations: 326 kB / 1.207 GB, free: 88.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/2.714, allocations: 38.8 kB / 1.207 GB, free: 87.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.795e-06/2.714, allocations: 4 kB / 1.207 GB, free: 87.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001143/2.715, allocations: 412 kB / 1.207 GB, free: 87.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/2.715, allocations: 136.5 kB / 1.207 GB, free: 87.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/2.715, allocations: 367 kB / 1.208 GB, free: 87.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/2.715, allocations: 37.64 kB / 1.208 GB, free: 86.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/2.715, allocations: 337.5 kB / 1.208 GB, free: 86.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/2.716, allocations: 114.3 kB / 1.208 GB, free: 86.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/2.716, allocations: 12 kB / 1.208 GB, free: 86.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.207e-05/2.716, allocations: 326.8 kB / 1.209 GB, free: 86.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/2.716, allocations: 153.1 kB / 1.209 GB, free: 86.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/2.716, allocations: 323 kB / 1.209 GB, free: 85.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/2.717, allocations: 207.6 kB / 1.209 GB, free: 85.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.204e-06/2.717, allocations: 4 kB / 1.209 GB, free: 85.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001154/2.718, allocations: 0.5527 MB / 1.21 GB, free: 84.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/2.718, allocations: 15.98 kB / 1.21 GB, free: 84.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.922e-06/2.718, allocations: 4 kB / 1.21 GB, free: 84.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/2.72, allocations: 236.6 kB / 1.21 GB, free: 84.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/2.72, allocations: 139.8 kB / 1.21 GB, free: 84.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004562/2.725, allocations: 17.47 MB / 1.227 GB, free: 65.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006412/2.726, allocations: 71.62 kB / 1.227 GB, free: 65.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/2.726, allocations: 55.98 kB / 1.227 GB, free: 65.73 MB / 490.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 () * 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.000149/2.726, allocations: 140.7 kB / 1.227 GB, free: 65.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/2.726, allocations: 47.44 kB / 1.227 GB, free: 65.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/2.728, allocations: 0.6171 MB / 1.228 GB, free: 64.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.59e-06/2.728, allocations: 4 kB / 1.228 GB, free: 64.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.724e-06/2.728, allocations: 3.938 kB / 1.228 GB, free: 64.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.628e-06/2.728, allocations: 3.984 kB / 1.228 GB, free: 64.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/2.73, allocations: 1.104 MB / 1.229 GB, free: 63.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.398e-06/2.73, allocations: 0 / 1.229 GB, free: 63.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/2.73, allocations: 67.89 kB / 1.229 GB, free: 63.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/2.732, allocations: 224.8 kB / 1.229 GB, free: 63.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/2.732, allocations: 19.95 kB / 1.229 GB, free: 63.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004099/2.732, allocations: 0.5874 MB / 1.23 GB, free: 62.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.312e-06/2.732, allocations: 0 / 1.23 GB, free: 62.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/2.733, allocations: 0.557 MB / 1.231 GB, free: 62.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/2.733, allocations: 140.5 kB / 1.231 GB, free: 61.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.637e-05/2.733, allocations: 11.98 kB / 1.231 GB, free: 61.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/2.734, allocations: 35.92 kB / 1.231 GB, free: 61.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/2.734, allocations: 31.91 kB / 1.231 GB, free: 61.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/2.734, allocations: 19.94 kB / 1.231 GB, free: 61.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004603/2.734, allocations: 305.2 kB / 1.231 GB, free: 61.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.74e-07/2.734, allocations: 4 kB / 1.231 GB, free: 61.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002032/2.736, allocations: 487.2 kB / 1.232 GB, free: 61.1 MB / 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 (28): * Single equations (assignments): 27 * 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.002122/2.739, allocations: 1.229 MB / 1.233 GB, free: 60.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000944/2.74, allocations: 373.8 kB / 1.233 GB, free: 59.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.835e-06/2.74, allocations: 4 kB / 1.233 GB, free: 59.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/2.74, allocations: 150.1 kB / 1.233 GB, free: 59.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/2.741, allocations: 229 kB / 1.234 GB, free: 59.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007323/2.749, allocations: 2.174 MB / 1.236 GB, free: 57.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/2.749, allocations: 0.8588 MB / 1.236 GB, free: 56.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/2.749, allocations: 95.39 kB / 1.237 GB, free: 56.24 MB / 490.7 MB Notification: Performance of SimCode: time 2.413e-06/2.749, allocations: 0 / 1.237 GB, free: 56.24 MB / 490.7 MB Notification: Performance of Templates: time 0.03155/2.781, allocations: 24.2 MB / 1.26 GB, free: 32.03 MB / 490.7 MB