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_DerivativeCheck.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_DerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.069/4.069, allocations: 432.6 MB / 445.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.418e-05, allocations: 4.953 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2339, allocations: 98.74 MB / 0.6347 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2832/0.5172, allocations: 125.2 MB / 0.757 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.5176, allocations: 79.94 kB / 0.7571 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01975/0.5373, allocations: 3.993 MB / 0.761 GB, free: 388 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5374, allocations: 0 / 0.761 GB, free: 388 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.403e-06/0.5374, allocations: 0 / 0.761 GB, free: 388 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004331/0.5378, allocations: 338.5 kB / 0.7613 GB, free: 4 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.314e-05/0.5379, allocations: 12.08 kB / 0.7613 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.538, allocations: 34.56 kB / 0.7614 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.538, allocations: 3.953 kB / 0.7614 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.5382, allocations: 171 kB / 0.7615 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.5382, allocations: 0 / 0.7615 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.5382, allocations: 7.938 kB / 0.7615 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.5384, allocations: 37.7 kB / 0.7616 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5384, allocations: 0 / 0.7616 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5384, allocations: 0 / 0.7616 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5384, allocations: 3.938 kB / 0.7616 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.527e-05/0.5385, allocations: 19.94 kB / 0.7616 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.5387, allocations: 153.7 kB / 0.7617 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.539, allocations: 46.52 kB / 0.7618 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.5391, allocations: 20.84 kB / 0.7618 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.5391, allocations: 8.078 kB / 0.7618 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.5391, allocations: 30.56 kB / 0.7618 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/0.5391, allocations: 0 / 0.7618 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0007361/0.5399, allocations: 298.2 kB / 0.7621 GB, free: 15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.54, allocations: 55.41 kB / 0.7622 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.5401, allocations: 96.94 kB / 0.7623 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.5401, allocations: 29.7 kB / 0.7623 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.5401, allocations: 80.14 kB / 0.7624 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.5402, allocations: 15.75 kB / 0.7624 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.5402, allocations: 4 kB / 0.7624 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5404, allocations: 314.8 kB / 0.7627 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.576e-05/0.5404, allocations: 12 kB / 0.7627 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.5404, allocations: 15.92 kB / 0.7627 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.826e-05/0.5405, allocations: 16 kB / 0.7627 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5405, allocations: 0 / 0.7627 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001475/0.5407, allocations: 69.53 kB / 0.7628 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5407, allocations: 4 kB / 0.7628 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5407, allocations: 0 / 0.7628 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5408, allocations: 0 / 0.7628 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.339e-05/0.5409, allocations: 12 kB / 0.7628 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.942e-05/0.5409, allocations: 0 / 0.7628 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.5409, allocations: 7.984 kB / 0.7628 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.541, allocations: 3.953 kB / 0.7628 GB, free: 14.23 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 (7): * Single equations (assignments): 7 * 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 8.25e-05/0.5411, allocations: 112.9 kB / 0.7629 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.5411, allocations: 0 / 0.7629 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.5413, allocations: 73.84 kB / 0.763 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5413, allocations: 0 / 0.763 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5413, allocations: 0 / 0.763 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.5413, allocations: 3.984 kB / 0.763 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.5418, allocations: 315.4 kB / 0.7633 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5418, allocations: 4 kB / 0.7633 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.5419, allocations: 15.97 kB / 0.7633 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.542, allocations: 0 / 0.7633 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.542, allocations: 4 kB / 0.7633 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.542, allocations: 0 / 0.7633 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.542, allocations: 0 / 0.7633 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.5423, allocations: 197.9 kB / 0.7635 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.5424, allocations: 81.17 kB / 0.7636 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.5424, allocations: 4.031 kB / 0.7636 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.701e-05/0.5425, allocations: 4 kB / 0.7636 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.5425, allocations: 11.94 kB / 0.7636 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.5426, allocations: 0 / 0.7636 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.752e-05/0.5426, allocations: 79.66 kB / 0.7637 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.9e-07/0.5426, allocations: 0 / 0.7637 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003442/0.543, allocations: 31.94 kB / 0.7637 GB, free: 13.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0007333/0.5437, allocations: 0.8149 MB / 0.7645 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.5439, allocations: 36.19 kB / 0.7646 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5439, allocations: 0 / 0.7646 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.262e-05/0.544, allocations: 28.05 kB / 0.7646 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.5442, allocations: 7.891 kB / 0.7646 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.5448, allocations: 187.6 kB / 0.7648 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.5451, allocations: 0.6848 MB / 0.7654 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.218e-05/0.5452, allocations: 11.97 kB / 0.7655 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.5453, allocations: 19.38 kB / 0.7655 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of SimCode: time 9.11e-07/0.5453, allocations: 0 / 0.7655 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.567, allocations: 1.352 MB / 0.7668 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/0.5673, allocations: 188.8 kB / 0.767 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/2.875, allocations: 0 / 0.767 GB, free: 9.844 MB / 0.6511 GB