Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.194/4.194, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.593e-05/4.607e-05, allocations: 4.641 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2439, allocations: 98.73 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2399/0.4838, allocations: 125.4 MB / 0.7571 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.4842, allocations: 83.94 kB / 0.7572 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02332/0.5075, allocations: 4.492 MB / 0.7616 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5076, allocations: 0 / 0.7616 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.5076, allocations: 0 / 0.7616 GB, free: 15.79 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004667/0.5081, allocations: 358.4 kB / 0.762 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.5081, allocations: 8.031 kB / 0.762 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.5082, allocations: 34.56 kB / 0.762 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.5082, allocations: 3.953 kB / 0.762 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.5084, allocations: 163.1 kB / 0.7622 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.5084, allocations: 4 kB / 0.7622 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.5084, allocations: 7.938 kB / 0.7622 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.5086, allocations: 53.67 kB / 0.7622 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.5086, allocations: 7.906 kB / 0.7622 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.5086, allocations: 0 / 0.7622 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.5087, allocations: 0 / 0.7622 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.286e-05/0.5088, allocations: 23.92 kB / 0.7622 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.509, allocations: 169.6 kB / 0.7624 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.5092, allocations: 54.56 kB / 0.7625 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.951e-05/0.5092, allocations: 28.86 kB / 0.7625 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.5093, allocations: 4 kB / 0.7625 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.5093, allocations: 34.56 kB / 0.7625 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.5094, allocations: 0 / 0.7625 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001378/0.5107, allocations: 0.5563 MB / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.5108, allocations: 59.3 kB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.208e-05/0.5109, allocations: 101 kB / 0.7632 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.511, allocations: 25.7 kB / 0.7632 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.511, allocations: 80.14 kB / 0.7633 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/0.5111, allocations: 43.44 kB / 0.7634 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.5111, allocations: 4 kB / 0.7634 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.5113, allocations: 314.8 kB / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.5113, allocations: 16 kB / 0.7637 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.5114, allocations: 20 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.498e-05/0.5115, allocations: 28.11 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5115, allocations: 0 / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002437/0.5118, allocations: 97.59 kB / 0.7638 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5118, allocations: 4 kB / 0.7638 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.5118, allocations: 0 / 0.7638 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5119, allocations: 0 / 0.7638 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.5121, allocations: 27.92 kB / 0.7639 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.5121, allocations: 0 / 0.7639 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.5121, allocations: 7.953 kB / 0.7639 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.5122, allocations: 4 kB / 0.7639 GB, free: 13.18 MB / 0.6511 GB 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 (13): * Single equations (assignments): 13 * 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.0001002/0.5123, allocations: 113 kB / 0.764 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.5123, allocations: 3.984 kB / 0.764 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.5126, allocations: 105.5 kB / 0.7641 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5126, allocations: 0 / 0.7641 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5127, allocations: 0 / 0.7641 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5127, allocations: 4.094 kB / 0.7641 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.5133, allocations: 350.6 kB / 0.7644 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.5133, allocations: 0 / 0.7644 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.5135, allocations: 31.92 kB / 0.7644 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.5135, allocations: 0 / 0.7644 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.5136, allocations: 4 kB / 0.7644 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.5136, allocations: 7.938 kB / 0.7645 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5136, allocations: 3.953 kB / 0.7645 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.514, allocations: 203.5 kB / 0.7647 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.514, allocations: 81.02 kB / 0.7647 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.5141, allocations: 7.984 kB / 0.7647 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.5142, allocations: 8.094 kB / 0.7647 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.5143, allocations: 11.98 kB / 0.7648 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.5143, allocations: 3.953 kB / 0.7648 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.573e-05/0.5143, allocations: 79.28 kB / 0.7648 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5144, allocations: 3.938 kB / 0.7648 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004009/0.5148, allocations: 47.92 kB / 0.7649 GB, free: 12.02 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008882/0.5157, allocations: 0.7905 MB / 0.7657 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.5159, allocations: 60.25 kB / 0.7657 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5159, allocations: 0 / 0.7657 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.056e-05/0.516, allocations: 35.94 kB / 0.7658 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.5162, allocations: 4 kB / 0.7658 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009038/0.5171, allocations: 286.8 kB / 0.766 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.5175, allocations: 0.6926 MB / 0.7667 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.864e-05/0.5176, allocations: 8 kB / 0.7667 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.5177, allocations: 19.44 kB / 0.7667 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/0.5177, allocations: 3.938 kB / 0.7667 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.5419, allocations: 1.76 MB / 0.7685 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003198/0.5424, allocations: 201.9 kB / 0.7686 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.019, allocations: 0 / 0.7686 GB, free: 8.152 MB / 0.6511 GB