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.Pipes.IdealMixing1.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.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004357, allocations: 12 kB / 314.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.279, allocations: 54.88 MB / 369.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.5027/0.7817, allocations: 156.7 MB / 0.5136 GB, free: 10.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02417/0.806, allocations: 16.06 MB / 0.5293 GB, free: 7.809 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.8077, allocations: 44.44 kB / 0.5293 GB, free: 7.785 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.8094, allocations: 435.3 kB / 0.5298 GB, free: 7.582 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.8196, allocations: 2.814 MB / 0.5325 GB, free: 6.836 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.83, allocations: 3.015 MB / 0.5355 GB, free: 6.023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003962/0.834, allocations: 2.209 MB / 0.5376 GB, free: 5.539 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002725/0.8367, allocations: 1.498 MB / 0.5391 GB, free: 4.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.8408, allocations: 1.641 MB / 0.5407 GB, free: 4.547 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0076/0.8484, allocations: 3.257 MB / 0.5439 GB, free: 3.602 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005065/0.849, allocations: 127.9 kB / 0.544 GB, free: 3.477 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01403/0.863, allocations: 4.801 MB / 0.5487 GB, free: 15.7 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.8644, allocations: 0.81 MB / 0.5495 GB, free: 15.1 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007247/0.8652, allocations: 361.9 kB / 0.5498 GB, free: 14.83 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009711/0.8749, allocations: 4.22 MB / 0.5539 GB, free: 11.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.138e-06/0.8749, allocations: 4 kB / 0.5539 GB, free: 11.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.8749, allocations: 0 / 0.5539 GB, free: 11.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.596e-05/0.875, allocations: 0 / 0.5539 GB, free: 11.18 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01049/0.8855, allocations: 2.283 MB / 0.5562 GB, free: 8.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.8856, allocations: 12.03 kB / 0.5562 GB, free: 8.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004657/0.8902, allocations: 489.9 kB / 0.5566 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002959/0.8932, allocations: 1.129 MB / 0.5577 GB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.8934, allocations: 96.52 kB / 0.5578 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003724/0.8937, allocations: 112.8 kB / 0.5579 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006688/0.9004, allocations: 2.828 MB / 0.5607 GB, free: 5.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.9005, allocations: 0 / 0.5607 GB, free: 5.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003341/0.9008, allocations: 54.44 kB / 0.5608 GB, free: 5.484 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/0.9011, allocations: 141.4 kB / 0.5609 GB, free: 5.363 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008417/0.9095, allocations: 3.561 MB / 0.5644 GB, free: 2.934 MB / 426.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.01718/0.9267, allocations: 7.841 MB / 0.572 GB, free: 12.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.9286, allocations: 0.7134 MB / 0.5727 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/0.9305, allocations: 1.123 MB / 0.5738 GB, free: 10.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.9306, allocations: 39.12 kB / 0.5739 GB, free: 10.48 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001001/0.9316, allocations: 182.9 kB / 0.574 GB, free: 10.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=56): time 3.609e-06/0.9316, allocations: 0 / 0.574 GB, free: 10.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=56): time 0.006604/0.9382, allocations: 1.761 MB / 0.5757 GB, free: 8.508 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.9384, allocations: 137.1 kB / 0.5759 GB, free: 8.344 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.9403, allocations: 1.049 MB / 0.5769 GB, free: 7.277 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.9405, allocations: 39.45 kB / 0.5769 GB, free: 7.234 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007126/0.9412, allocations: 0.7682 MB / 0.5777 GB, free: 6.465 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.9415, allocations: 206.3 kB / 0.5779 GB, free: 6.266 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.552e-05/0.9416, allocations: 20 kB / 0.5779 GB, free: 6.246 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.9418, allocations: 366.7 kB / 0.5783 GB, free: 5.879 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.9431, allocations: 482.3 kB / 0.5787 GB, free: 5.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.9448, allocations: 0.9372 MB / 0.5796 GB, free: 4.254 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.9463, allocations: 0.6277 MB / 0.5802 GB, free: 3.625 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.9464, allocations: 4 kB / 0.5802 GB, free: 3.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004161/0.9505, allocations: 1.634 MB / 0.5818 GB, free: 1.977 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000493/0.9511, allocations: 0.5164 MB / 0.5823 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.9511, allocations: 15.98 kB / 0.5824 GB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003135/0.9542, allocations: 0.5462 MB / 0.5829 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.9555, allocations: 247.6 kB / 0.5831 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/0.9581, allocations: 1.184 MB / 0.5843 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.9596, allocations: 91.72 kB / 0.5844 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.9598, allocations: 85.72 kB / 0.5845 GB, free: 15.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.9598, allocations: 4 kB / 0.5845 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004002/0.9638, allocations: 1.484 MB / 0.5859 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/0.9639, allocations: 16 kB / 0.5859 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000763/0.9646, allocations: 176.8 kB / 0.5861 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.966, allocations: 271.5 kB / 0.5864 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/0.9701, allocations: 2.237 MB / 0.5885 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.9712, allocations: 83.84 kB / 0.5886 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.9714, allocations: 83.97 kB / 0.5887 GB, free: 10.58 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (127): * Single equations (assignments): 126 * 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 {6 13} Notification: Performance of prepare postOptimizeDAE: time 0.001096/0.9726, allocations: 0.5239 MB / 0.5892 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.9729, allocations: 110.6 kB / 0.5893 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003602/0.9765, allocations: 1.238 MB / 0.5905 GB, free: 8.691 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.9765, allocations: 4 kB / 0.5905 GB, free: 8.688 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.9765, allocations: 0 / 0.5905 GB, free: 8.688 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.9766, allocations: 3.984 kB / 0.5905 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005029/0.9816, allocations: 2.201 MB / 0.5927 GB, free: 6.434 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.865e-06/0.9816, allocations: 4.031 kB / 0.5927 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.9822, allocations: 75.95 kB / 0.5928 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003195/0.9854, allocations: 0.5381 MB / 0.5933 GB, free: 5.816 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.9856, allocations: 16 kB / 0.5933 GB, free: 5.801 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.9877, allocations: 1.118 MB / 0.5944 GB, free: 4.656 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.614e-06/0.9878, allocations: 4.125 kB / 0.5944 GB, free: 4.652 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.9907, allocations: 1.091 MB / 0.5955 GB, free: 3.539 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.9911, allocations: 195.8 kB / 0.5956 GB, free: 3.328 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.9913, allocations: 15.95 kB / 0.5957 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000793/0.9921, allocations: 53.72 kB / 0.5957 GB, free: 3.262 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.9923, allocations: 36.66 kB / 0.5957 GB, free: 3.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.9924, allocations: 39.97 kB / 0.5958 GB, free: 3.184 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001363/0.9938, allocations: 0.6989 MB / 0.5965 GB, free: 2.477 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.054e-06/0.9938, allocations: 0 / 0.5965 GB, free: 2.477 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005045/0.9989, allocations: 1.63 MB / 0.5981 GB, free: 0.8438 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 36 * 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 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.005531/1.004, allocations: 1.48 MB / 0.5995 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005839/1.01, allocations: 1.994 MB / 0.6015 GB, free: 13.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.71e-06/1.01, allocations: 3.938 kB / 0.6015 GB, free: 13.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/1.012, allocations: 437.9 kB / 0.6019 GB, free: 13.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/1.014, allocations: 438.1 kB / 0.6023 GB, free: 12.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/1.02, allocations: 2.88 MB / 0.6051 GB, free: 9.688 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/1.022, allocations: 1.327 MB / 0.6064 GB, free: 8.332 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005669/1.022, allocations: 109.3 kB / 0.6065 GB, free: 8.227 MB / 474.7 MB Notification: Performance of SimCode: time 1.798e-06/1.022, allocations: 0 / 0.6065 GB, free: 8.227 MB / 474.7 MB Notification: Performance of Templates: time 0.07191/1.094, allocations: 38.12 MB / 0.6437 GB, free: 2.102 MB / 0.4948 GB