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.Fittings.TestJunctionIdeal.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.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.138/2.138, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004377, allocations: 19.98 kB / 314.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2862, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.626/1.912, allocations: 0.6281 GB / 0.9887 GB, free: 35.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/1.913, allocations: 85.2 kB / 0.9888 GB, free: 35.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653/3.565, allocations: 354 MB / 1.334 GB, free: 72.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.343e-06/3.565, allocations: 0 / 1.334 GB, free: 72.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.872e-05/3.565, allocations: 33.2 kB / 1.334 GB, free: 72.56 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.005004/3.57, allocations: 1.697 MB / 1.336 GB, free: 70.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/3.57, allocations: 13.88 kB / 1.336 GB, free: 70.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/3.572, allocations: 202.3 kB / 1.336 GB, free: 70.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/3.574, allocations: 0.8472 MB / 1.337 GB, free: 69.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/3.574, allocations: 49.22 kB / 1.337 GB, free: 69.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/3.575, allocations: 59.83 kB / 1.337 GB, free: 69.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/3.577, allocations: 1.149 MB / 1.338 GB, free: 68.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/3.577, allocations: 3.938 kB / 1.338 GB, free: 68.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/3.577, allocations: 28.92 kB / 1.338 GB, free: 68.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/3.577, allocations: 79.48 kB / 1.338 GB, free: 68.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/3.58, allocations: 1.167 MB / 1.34 GB, free: 67.21 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.008083/3.588, allocations: 4.306 MB / 1.344 GB, free: 62.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/3.59, allocations: 0.7771 MB / 1.345 GB, free: 61.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/3.59, allocations: 322.8 kB / 1.345 GB, free: 61.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/3.59, allocations: 47.08 kB / 1.345 GB, free: 61.54 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000839/3.591, allocations: 113.2 kB / 1.345 GB, free: 61.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=61): time 5.381e-06/3.591, allocations: 1.688 kB / 1.345 GB, free: 61.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.007897/3.599, allocations: 2.03 MB / 1.347 GB, free: 59.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/3.599, allocations: 214.2 kB / 1.347 GB, free: 59.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/3.6, allocations: 0.7231 MB / 1.348 GB, free: 58.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001372/3.6, allocations: 37.7 kB / 1.348 GB, free: 58.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/3.601, allocations: 478.4 kB / 1.348 GB, free: 57.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/3.601, allocations: 219.8 kB / 1.349 GB, free: 57.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/3.601, allocations: 16 kB / 1.349 GB, free: 57.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.406e-05/3.601, allocations: 346.8 kB / 1.349 GB, free: 57.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008748/3.602, allocations: 384.5 kB / 1.349 GB, free: 56.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009778/3.603, allocations: 0.6247 MB / 1.35 GB, free: 56.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009891/3.604, allocations: 479.9 kB / 1.35 GB, free: 55.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.618e-06/3.604, allocations: 0 / 1.35 GB, free: 55.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002852/3.607, allocations: 1.252 MB / 1.352 GB, free: 54.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004729/3.607, allocations: 2.444 MB / 1.354 GB, free: 51.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/3.607, allocations: 7.984 kB / 1.354 GB, free: 51.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006286/3.614, allocations: 0.8277 MB / 1.355 GB, free: 51.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009272/3.615, allocations: 178.8 kB / 1.355 GB, free: 50.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/3.616, allocations: 1.188 MB / 1.356 GB, free: 49.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/3.618, allocations: 66.61 kB / 1.356 GB, free: 49.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/3.618, allocations: 71.98 kB / 1.356 GB, free: 49.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/3.618, allocations: 8.656 kB / 1.356 GB, free: 49.57 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002888/3.621, allocations: 1.107 MB / 1.357 GB, free: 48.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/3.621, allocations: 8 kB / 1.357 GB, free: 48.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007088/3.622, allocations: 140.7 kB / 1.358 GB, free: 48.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/3.623, allocations: 203.7 kB / 1.358 GB, free: 48.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/3.626, allocations: 2.172 MB / 1.36 GB, free: 45.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009856/3.627, allocations: 67.8 kB / 1.36 GB, free: 45.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/3.627, allocations: 69.77 kB / 1.36 GB, free: 45.7 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.0006696/3.627, allocations: 362 kB / 1.36 GB, free: 45.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/3.628, allocations: 98.88 kB / 1.36 GB, free: 45.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/3.631, allocations: 1.325 MB / 1.362 GB, free: 43.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/3.631, allocations: 8 kB / 1.362 GB, free: 43.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/3.631, allocations: 3.938 kB / 1.362 GB, free: 43.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.821e-06/3.631, allocations: 3.984 kB / 1.362 GB, free: 43.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/3.635, allocations: 1.941 MB / 1.364 GB, free: 41.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.915e-06/3.635, allocations: 7.938 kB / 1.364 GB, free: 41.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/3.636, allocations: 83.88 kB / 1.364 GB, free: 41.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004468/3.64, allocations: 0.6983 MB / 1.364 GB, free: 41.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/3.64, allocations: 27.98 kB / 1.364 GB, free: 41.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/3.642, allocations: 1.173 MB / 1.366 GB, free: 39.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.607e-06/3.642, allocations: 4 kB / 1.366 GB, free: 39.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/3.645, allocations: 1.183 MB / 1.367 GB, free: 38.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/3.645, allocations: 179.9 kB / 1.367 GB, free: 38.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/3.645, allocations: 16 kB / 1.367 GB, free: 38.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/3.646, allocations: 47.48 kB / 1.367 GB, free: 38.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/3.646, allocations: 48.5 kB / 1.367 GB, free: 38.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/3.646, allocations: 43.98 kB / 1.367 GB, free: 38.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009315/3.647, allocations: 0.5654 MB / 1.368 GB, free: 37.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.67e-07/3.647, allocations: 2.625 kB / 1.368 GB, free: 37.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004212/3.651, allocations: 1.221 MB / 1.369 GB, free: 36.54 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.00429/3.656, allocations: 1.804 MB / 1.371 GB, free: 34.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00363/3.659, allocations: 1.565 MB / 1.372 GB, free: 33.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.489e-06/3.659, allocations: 4 kB / 1.372 GB, free: 33.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009723/3.66, allocations: 431.7 kB / 1.373 GB, free: 32.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/3.663, allocations: 488.2 kB / 1.373 GB, free: 32.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009498/3.673, allocations: 3.717 MB / 1.377 GB, free: 28.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/3.673, allocations: 1.07 MB / 1.378 GB, free: 27.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006529/3.674, allocations: 123.3 kB / 1.378 GB, free: 27.44 MB / 490.7 MB Notification: Performance of SimCode: time 2.604e-06/3.674, allocations: 0 / 1.378 GB, free: 27.44 MB / 490.7 MB Notification: Performance of Templates: time 0.454/4.128, allocations: 30.1 MB / 1.407 GB, free: 75.52 MB / 490.7 MB