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.Fittings.TestJunctionIdeal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadModel(ModelicaTest): time 2.621/2.621, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005198, allocations: 16 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4156, allocations: 54.85 MB / 369.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.814/2.229, allocations: 0.6281 GB / 0.9892 GB, free: 31.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004161/2.23, allocations: 101.4 kB / 0.9893 GB, free: 31.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.956/4.186, allocations: 354 MB / 1.335 GB, free: 69.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.334e-06/4.186, allocations: 0 / 1.335 GB, free: 69.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001106/4.186, allocations: 30.64 kB / 1.335 GB, free: 69.35 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006353/4.192, allocations: 1.691 MB / 1.337 GB, free: 67.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/4.192, allocations: 12.03 kB / 1.337 GB, free: 67.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/4.194, allocations: 202.5 kB / 1.337 GB, free: 67.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/4.197, allocations: 0.8394 MB / 1.338 GB, free: 66.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.039e-05/4.197, allocations: 49.3 kB / 1.338 GB, free: 66.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/4.197, allocations: 59.98 kB / 1.338 GB, free: 66.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/4.2, allocations: 1.157 MB / 1.339 GB, free: 65.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/4.2, allocations: 4 kB / 1.339 GB, free: 65.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/4.2, allocations: 27.98 kB / 1.339 GB, free: 65.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001569/4.2, allocations: 81.25 kB / 1.339 GB, free: 65.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00302/4.204, allocations: 1.164 MB / 1.34 GB, free: 63.94 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.01049/4.214, allocations: 4.314 MB / 1.344 GB, free: 59.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/4.216, allocations: 0.7361 MB / 1.345 GB, free: 58.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/4.217, allocations: 328.4 kB / 1.345 GB, free: 58.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/4.217, allocations: 43.08 kB / 1.345 GB, free: 58.27 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001197/4.218, allocations: 122.5 kB / 1.346 GB, free: 58.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=61): time 3.606e-06/4.218, allocations: 0 / 1.346 GB, free: 58.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.01233/4.23, allocations: 2.072 MB / 1.348 GB, free: 56.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/4.23, allocations: 221 kB / 1.348 GB, free: 55.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/4.232, allocations: 0.8214 MB / 1.349 GB, free: 54.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000194/4.232, allocations: 37.7 kB / 1.349 GB, free: 54.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/4.232, allocations: 469.7 kB / 1.349 GB, free: 54.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/4.233, allocations: 224.9 kB / 1.349 GB, free: 54.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.163e-05/4.233, allocations: 12 kB / 1.349 GB, free: 54.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.33e-05/4.233, allocations: 350.4 kB / 1.35 GB, free: 53.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/4.234, allocations: 385.8 kB / 1.35 GB, free: 53.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/4.235, allocations: 0.6236 MB / 1.351 GB, free: 52.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/4.236, allocations: 478.6 kB / 1.351 GB, free: 52.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/4.236, allocations: 0 / 1.351 GB, free: 52.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003419/4.24, allocations: 1.254 MB / 1.352 GB, free: 51.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/4.24, allocations: 277.5 kB / 1.353 GB, free: 50.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/4.24, allocations: 8 kB / 1.353 GB, free: 50.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008357/4.248, allocations: 0.8343 MB / 1.353 GB, free: 49.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/4.25, allocations: 175.8 kB / 1.354 GB, free: 49.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/4.252, allocations: 1.191 MB / 1.355 GB, free: 48.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/4.254, allocations: 67.84 kB / 1.355 GB, free: 48.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/4.254, allocations: 75.91 kB / 1.355 GB, free: 48.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/4.254, allocations: 6.688 kB / 1.355 GB, free: 48.39 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003829/4.258, allocations: 1.114 MB / 1.356 GB, free: 47.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/4.258, allocations: 4 kB / 1.356 GB, free: 47.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/4.259, allocations: 136.8 kB / 1.356 GB, free: 47.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/4.261, allocations: 214.8 kB / 1.356 GB, free: 46.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004061/4.265, allocations: 2.158 MB / 1.358 GB, free: 44.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/4.266, allocations: 71.73 kB / 1.358 GB, free: 44.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/4.267, allocations: 67.98 kB / 1.359 GB, free: 44.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (85): * Single equations (assignments): 84 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0009064/4.267, allocations: 353.4 kB / 1.359 GB, free: 44.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/4.268, allocations: 94.81 kB / 1.359 GB, free: 44.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004621/4.272, allocations: 1.329 MB / 1.36 GB, free: 42.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/4.273, allocations: 8 kB / 1.36 GB, free: 42.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/4.273, allocations: 0 / 1.36 GB, free: 42.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/4.273, allocations: 7.938 kB / 1.36 GB, free: 42.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004906/4.277, allocations: 1.951 MB / 1.362 GB, free: 40.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/4.278, allocations: 0 / 1.362 GB, free: 40.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/4.278, allocations: 87.84 kB / 1.362 GB, free: 40.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005589/4.284, allocations: 0.691 MB / 1.363 GB, free: 39.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/4.284, allocations: 23.98 kB / 1.363 GB, free: 39.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/4.286, allocations: 1.176 MB / 1.364 GB, free: 38.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/4.286, allocations: 0 / 1.364 GB, free: 38.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/4.289, allocations: 1.124 MB / 1.365 GB, free: 37.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/4.289, allocations: 179.9 kB / 1.365 GB, free: 37.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/4.29, allocations: 12 kB / 1.365 GB, free: 37.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/4.291, allocations: 49.61 kB / 1.365 GB, free: 37.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/4.291, allocations: 46.44 kB / 1.365 GB, free: 37.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/4.291, allocations: 43.98 kB / 1.366 GB, free: 37.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001039/4.292, allocations: 0.5692 MB / 1.366 GB, free: 36.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.72e-07/4.292, allocations: 0 / 1.366 GB, free: 36.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00509/4.297, allocations: 1.217 MB / 1.367 GB, free: 35.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.005273/4.302, allocations: 1.813 MB / 1.369 GB, free: 33.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004801/4.307, allocations: 1.569 MB / 1.371 GB, free: 32.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/4.307, allocations: 4.562 kB / 1.371 GB, free: 32.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001286/4.309, allocations: 422.2 kB / 1.371 GB, free: 31.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/4.313, allocations: 478.4 kB / 1.371 GB, free: 31.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/4.326, allocations: 3.734 MB / 1.375 GB, free: 27.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/4.327, allocations: 1.063 MB / 1.376 GB, free: 26.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008337/4.327, allocations: 127.4 kB / 1.376 GB, free: 26.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.442e-06/4.327, allocations: 0 / 1.376 GB, free: 26.18 MB / 490.7 MB Notification: Performance of Templates: time 0.4911/4.819, allocations: 30.1 MB / 1.406 GB, free: 74.89 MB / 490.7 MB