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.138/2.138, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004319, allocations: 11.94 kB / 314.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3375, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.418/1.756, allocations: 0.6129 GB / 0.9735 GB, free: 50.36 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.756, allocations: 94.27 kB / 0.9736 GB, free: 50.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073/2.829, allocations: 238.3 MB / 1.206 GB, free: 15.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.377e-06/2.829, allocations: 4 kB / 1.206 GB, free: 15.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.729e-05/2.829, allocations: 16 kB / 1.206 GB, free: 15.17 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.002297/2.832, allocations: 1.03 MB / 1.207 GB, free: 14.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/2.832, allocations: 11.97 kB / 1.207 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/2.833, allocations: 143.2 kB / 1.207 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/2.834, allocations: 0.5326 MB / 1.208 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/2.834, allocations: 29 kB / 1.208 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/2.834, allocations: 43.98 kB / 1.208 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/2.835, allocations: 0.5845 MB / 1.209 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/2.835, allocations: 0 / 1.209 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/2.836, allocations: 20 kB / 1.209 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/2.836, allocations: 12 kB / 1.209 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/2.837, allocations: 487.5 kB / 1.209 GB, free: 12.16 MB / 490.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.002751/2.839, allocations: 2.593 MB / 1.212 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/2.84, allocations: 315.4 kB / 1.212 GB, free: 9.031 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/2.841, allocations: 325.6 kB / 1.212 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/2.841, allocations: 42.8 kB / 1.212 GB, free: 8.605 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.938e-06/2.841, allocations: 4 kB / 1.212 GB, free: 8.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.00187/2.843, allocations: 0.6694 MB / 1.213 GB, free: 7.906 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/2.843, allocations: 132.5 kB / 1.213 GB, free: 7.746 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/2.843, allocations: 365 kB / 1.213 GB, free: 7.391 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/2.843, allocations: 33.7 kB / 1.213 GB, free: 7.352 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/2.843, allocations: 337.9 kB / 1.214 GB, free: 7.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.189e-05/2.843, allocations: 114.4 kB / 1.214 GB, free: 6.906 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/2.844, allocations: 12 kB / 1.214 GB, free: 6.895 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.652e-05/2.844, allocations: 334.8 kB / 1.214 GB, free: 6.559 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/2.844, allocations: 165 kB / 1.214 GB, free: 6.395 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/2.844, allocations: 354.9 kB / 1.215 GB, free: 5.977 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/2.845, allocations: 215.9 kB / 1.215 GB, free: 5.766 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.967e-06/2.845, allocations: 0 / 1.215 GB, free: 5.766 MB / 490.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001318/2.846, allocations: 0.6104 MB / 1.216 GB, free: 5.145 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/2.846, allocations: 11.95 kB / 1.216 GB, free: 5.133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/2.846, allocations: 11.94 kB / 1.216 GB, free: 5.121 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/2.848, allocations: 233.1 kB / 1.216 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/2.849, allocations: 147.8 kB / 1.216 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2817/3.13, allocations: 17.45 MB / 1.233 GB, free: 80.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/3.131, allocations: 69.39 kB / 1.233 GB, free: 80.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/3.131, allocations: 53.59 kB / 1.233 GB, free: 80.85 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 () * Number of clocked 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.0003651/3.132, allocations: 182 kB / 1.233 GB, free: 80.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/3.132, allocations: 52.78 kB / 1.233 GB, free: 80.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/3.134, allocations: 0.6691 MB / 1.234 GB, free: 80.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.382e-06/3.134, allocations: 2.469 kB / 1.234 GB, free: 80.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.175e-06/3.134, allocations: 7.672 kB / 1.234 GB, free: 80.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.728e-06/3.134, allocations: 5.859 kB / 1.234 GB, free: 80.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/3.136, allocations: 1.15 MB / 1.235 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.601e-06/3.136, allocations: 1.594 kB / 1.235 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/3.137, allocations: 65.64 kB / 1.235 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/3.138, allocations: 232 kB / 1.235 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/3.138, allocations: 12.03 kB / 1.235 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004255/3.139, allocations: 0.579 MB / 1.236 GB, free: 79.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.892e-06/3.139, allocations: 2 kB / 1.236 GB, free: 79.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/3.14, allocations: 0.5887 MB / 1.237 GB, free: 79.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/3.14, allocations: 143.2 kB / 1.237 GB, free: 79.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/3.14, allocations: 12 kB / 1.237 GB, free: 79.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/3.141, allocations: 37.28 kB / 1.237 GB, free: 79.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/3.141, allocations: 31.47 kB / 1.237 GB, free: 79.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/3.141, allocations: 19.62 kB / 1.237 GB, free: 79.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004893/3.142, allocations: 306.7 kB / 1.237 GB, free: 79.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.5e-07/3.142, allocations: 0 / 1.237 GB, free: 79.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002163/3.144, allocations: 486.1 kB / 1.238 GB, free: 79.08 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 () * Number of clocked 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.002455/3.146, allocations: 1.232 MB / 1.239 GB, free: 78.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/3.147, allocations: 402.8 kB / 1.239 GB, free: 78.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.863e-06/3.147, allocations: 1.375 kB / 1.239 GB, free: 78.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004233/3.148, allocations: 165.6 kB / 1.239 GB, free: 78.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/3.149, allocations: 230.6 kB / 1.24 GB, free: 78.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007613/3.157, allocations: 2.725 MB / 1.242 GB, free: 78.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/3.157, allocations: 0.862 MB / 1.243 GB, free: 77.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/3.158, allocations: 91.78 kB / 1.243 GB, free: 77.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.565e-06/3.158, allocations: 0 / 1.243 GB, free: 77.58 MB / 490.7 MB Notification: Performance of Templates: time 0.03142/3.189, allocations: 24.26 MB / 1.267 GB, free: 76.91 MB / 490.7 MB