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.TestPressureLossDerivatives.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.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadModel(ModelicaTest): time 2.211/2.211, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.05e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3243, allocations: 54.85 MB / 364.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.45, allocations: 82.17 MB / 446.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.4502, allocations: 81.36 kB / 446.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02255/0.4728, allocations: 5.261 MB / 452.1 MB, free: 8.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.865e-06/0.4728, allocations: 0 / 452.1 MB, free: 8.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.643e-06/0.4729, allocations: 0 / 452.1 MB, free: 8.996 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000525/0.4734, allocations: 414.2 kB / 452.5 MB, free: 8.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4735, allocations: 8.031 kB / 452.5 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.4735, allocations: 7.906 kB / 452.5 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.4737, allocations: 172.4 kB / 452.6 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4737, allocations: 4 kB / 452.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.4737, allocations: 0 / 452.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.4739, allocations: 69.64 kB / 452.7 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4739, allocations: 0 / 452.7 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.474, allocations: 3.984 kB / 452.7 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-06/0.474, allocations: 4 kB / 452.7 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.4741, allocations: 51.98 kB / 452.8 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.4744, allocations: 193.5 kB / 453 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.4745, allocations: 62.5 kB / 453 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.215e-05/0.4746, allocations: 40.84 kB / 453.1 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.099e-05/0.4747, allocations: 20.48 kB / 453.1 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.4747, allocations: 34.56 kB / 453.1 MB, free: 7.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 4.802e-06/0.4747, allocations: 0 / 453.1 MB, free: 7.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.01713/0.4919, allocations: 1.238 MB / 454.4 MB, free: 6.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.492, allocations: 55.41 kB / 454.4 MB, free: 6.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.4921, allocations: 111.1 kB / 454.5 MB, free: 6.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.4922, allocations: 33.7 kB / 454.5 MB, free: 6.285 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.4923, allocations: 158.8 kB / 454.7 MB, free: 6.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/0.4923, allocations: 35.45 kB / 454.7 MB, free: 6.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.4924, allocations: 4 kB / 454.7 MB, free: 6.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4925, allocations: 310.8 kB / 455 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.4927, allocations: 71.98 kB / 455.1 MB, free: 5.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.493, allocations: 72.75 kB / 455.2 MB, free: 5.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.4932, allocations: 68.84 kB / 455.3 MB, free: 5.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4933, allocations: 7.875 kB / 455.3 MB, free: 5.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000601/0.4939, allocations: 198.3 kB / 455.5 MB, free: 5.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.4939, allocations: 11.94 kB / 455.5 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.295e-06/0.4939, allocations: 0 / 455.5 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.494, allocations: 4 kB / 455.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.4944, allocations: 35.97 kB / 455.5 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.4944, allocations: 0 / 455.5 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.4946, allocations: 11.98 kB / 455.5 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.4947, allocations: 12 kB / 455.5 MB, free: 5.285 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.4948, allocations: 108.9 kB / 455.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.4949, allocations: 7.906 kB / 455.6 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000798/0.4957, allocations: 250.5 kB / 455.9 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.15e-06/0.4957, allocations: 4 kB / 455.9 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.334e-06/0.4957, allocations: 0 / 455.9 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.751e-06/0.4957, allocations: 0 / 455.9 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.4976, allocations: 0.6311 MB / 456.5 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.293e-06/0.4977, allocations: 0 / 456.5 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.498, allocations: 44 kB / 456.6 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.498, allocations: 0 / 456.6 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.4981, allocations: 11.98 kB / 456.6 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.156e-06/0.4981, allocations: 4 kB / 456.6 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.4981, allocations: 0 / 456.6 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.4988, allocations: 351 kB / 456.9 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.499, allocations: 109 kB / 457 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.499, allocations: 0 / 457 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.4993, allocations: 15.98 kB / 457 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.4994, allocations: 15.94 kB / 457.1 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.4994, allocations: 8 kB / 457.1 MB, free: 3.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.801e-05/0.4995, allocations: 96.53 kB / 457.2 MB, free: 3.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.54e-07/0.4995, allocations: 0 / 457.2 MB, free: 3.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007449/0.5003, allocations: 179.7 kB / 457.3 MB, free: 3.332 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008095/0.5011, allocations: 262.1 kB / 457.6 MB, free: 3.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.5017, allocations: 159.9 kB / 457.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.348e-06/0.5017, allocations: 0 / 457.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.5019, allocations: 91.91 kB / 457.8 MB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.5022, allocations: 15.98 kB / 457.9 MB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.5037, allocations: 295.7 kB / 458.1 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.5041, allocations: 0.7043 MB / 458.8 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.5043, allocations: 27.36 kB / 458.9 MB, free: 1.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.736e-06/0.5043, allocations: 0 / 458.9 MB, free: 1.73 MB / 378.7 MB Notification: Performance of Templates: time 0.009032/0.5133, allocations: 4.341 MB / 463.2 MB, free: 13.38 MB / 394.7 MB