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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.205/2.205, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.103e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2823, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.423/1.706, allocations: 0.6273 GB / 0.977 GB, free: 19.39 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.706, allocations: 83.95 kB / 0.9771 GB, free: 19.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.606/3.312, allocations: 349.4 MB / 1.318 GB, free: 34.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.358e-06/3.312, allocations: 0 / 1.318 GB, free: 34.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.882e-05/3.312, allocations: 31.92 kB / 1.318 GB, free: 34.35 MB / 474.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.004845/3.317, allocations: 1.562 MB / 1.32 GB, free: 32.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/3.317, allocations: 12.03 kB / 1.32 GB, free: 32.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/3.319, allocations: 198.6 kB / 1.32 GB, free: 32.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/3.321, allocations: 0.8316 MB / 1.321 GB, free: 31.65 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/3.321, allocations: 20 kB / 1.321 GB, free: 31.63 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/3.322, allocations: 39.95 kB / 1.321 GB, free: 31.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002086/3.324, allocations: 0.9794 MB / 1.322 GB, free: 30.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/3.326, allocations: 1.032 MB / 1.323 GB, free: 29.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/3.326, allocations: 0 / 1.323 GB, free: 29.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/3.326, allocations: 4 kB / 1.323 GB, free: 29.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/3.326, allocations: 77.25 kB / 1.323 GB, free: 29.45 MB / 474.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.008624/3.335, allocations: 4.321 MB / 1.327 GB, free: 24.92 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/3.336, allocations: 0.6259 MB / 1.328 GB, free: 24.28 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/3.337, allocations: 298.1 kB / 1.328 GB, free: 23.99 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003296/3.337, allocations: 318.8 kB / 1.328 GB, free: 23.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/3.337, allocations: 42.92 kB / 1.328 GB, free: 23.57 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000876/3.338, allocations: 103.3 kB / 1.329 GB, free: 23.47 MB / 474.7 MB Notification: Performance of pre-optimization done (n=49): time 4.565e-06/3.338, allocations: 0 / 1.329 GB, free: 23.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=49): time 0.003232/3.341, allocations: 0.9363 MB / 1.329 GB, free: 22.53 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/3.341, allocations: 214.1 kB / 1.33 GB, free: 22.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/3.343, allocations: 0.6604 MB / 1.33 GB, free: 21.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/3.343, allocations: 25.7 kB / 1.33 GB, free: 21.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/3.343, allocations: 0.5085 MB / 1.331 GB, free: 21.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/3.343, allocations: 165.6 kB / 1.331 GB, free: 20.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/3.343, allocations: 0 / 1.331 GB, free: 20.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/3.343, allocations: 342.8 kB / 1.331 GB, free: 20.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/3.344, allocations: 362.5 kB / 1.332 GB, free: 20.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000817/3.345, allocations: 0.5948 MB / 1.332 GB, free: 19.49 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/3.355, allocations: 1.871 MB / 1.334 GB, free: 17.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/3.356, allocations: 0 / 1.334 GB, free: 17.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01217/3.368, allocations: 2.585 MB / 1.337 GB, free: 15.03 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004925/3.368, allocations: 2.456 MB / 1.339 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/3.368, allocations: 4 kB / 1.339 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003983/3.372, allocations: 0.6142 MB / 1.34 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/3.373, allocations: 179.7 kB / 1.34 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/3.376, allocations: 1.342 MB / 1.341 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/3.377, allocations: 47.92 kB / 1.341 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/3.378, allocations: 71.98 kB / 1.341 GB, free: 10.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/3.378, allocations: 4 kB / 1.341 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01331/3.391, allocations: 2.357 MB / 1.343 GB, free: 7.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/3.391, allocations: 8 kB / 1.344 GB, free: 7.723 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007217/3.392, allocations: 141 kB / 1.344 GB, free: 7.582 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/3.393, allocations: 207.7 kB / 1.344 GB, free: 7.379 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/3.395, allocations: 2.033 MB / 1.346 GB, free: 5.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009917/3.397, allocations: 39.95 kB / 1.346 GB, free: 5.191 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/3.397, allocations: 76.05 kB / 1.346 GB, free: 5.117 MB / 474.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 () * 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.0002741/3.397, allocations: 128.7 kB / 1.346 GB, free: 4.984 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/3.397, allocations: 86.97 kB / 1.346 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/3.4, allocations: 1.062 MB / 1.347 GB, free: 3.812 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/3.401, allocations: 11.89 kB / 1.347 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.598e-06/3.401, allocations: 0 / 1.347 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.599e-06/3.401, allocations: 0 / 1.347 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00395/3.405, allocations: 1.696 MB / 1.349 GB, free: 2.051 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.226e-06/3.405, allocations: 0 / 1.349 GB, free: 2.051 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/3.405, allocations: 55.97 kB / 1.349 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/3.407, allocations: 483 kB / 1.349 GB, free: 1.523 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.98e-05/3.407, allocations: 11.98 kB / 1.349 GB, free: 1.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/3.41, allocations: 1.267 MB / 1.351 GB, free: 224 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.609e-06/3.41, allocations: 8 kB / 1.351 GB, free: 216 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/3.413, allocations: 1.013 MB / 1.352 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004603/3.413, allocations: 179.9 kB / 1.352 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/3.413, allocations: 3.953 kB / 1.352 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/3.414, allocations: 35.95 kB / 1.352 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/3.414, allocations: 36.48 kB / 1.352 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.446e-05/3.414, allocations: 31.98 kB / 1.352 GB, free: 14.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009787/3.415, allocations: 0.4913 MB / 1.352 GB, free: 14.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.035e-06/3.415, allocations: 0 / 1.352 GB, free: 14.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004479/3.42, allocations: 1.182 MB / 1.354 GB, free: 13.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.00535/3.425, allocations: 1.992 MB / 1.355 GB, free: 11.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003581/3.429, allocations: 1.408 MB / 1.357 GB, free: 9.773 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.166e-06/3.429, allocations: 3.938 kB / 1.357 GB, free: 9.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008355/3.43, allocations: 334.3 kB / 1.357 GB, free: 9.441 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/3.432, allocations: 422 kB / 1.358 GB, free: 9.031 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/3.443, allocations: 2.85 MB / 1.36 GB, free: 6.141 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009685/3.444, allocations: 1.058 MB / 1.361 GB, free: 5.047 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006516/3.444, allocations: 111.4 kB / 1.361 GB, free: 4.938 MB / 490.7 MB Notification: Performance of SimCode: time 4.158e-06/3.444, allocations: 0 / 1.361 GB, free: 4.938 MB / 490.7 MB Notification: Performance of Templates: time 0.3405/3.785, allocations: 29.71 MB / 1.39 GB, free: 72.07 MB / 490.7 MB