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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.074/4.074, allocations: 433.2 MB / 440.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.463e-05, allocations: 3.984 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2291, allocations: 98.73 MB / 0.6289 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/0.4694, allocations: 124.6 MB / 0.7505 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.4698, allocations: 79.94 kB / 0.7506 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02038/0.4902, allocations: 3.965 MB / 0.7545 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4902, allocations: 0 / 0.7545 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.4903, allocations: 0 / 0.7545 GB, free: 8.242 MB / 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.0004796/0.4907, allocations: 350.4 kB / 0.7548 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.4908, allocations: 12.03 kB / 0.7548 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.4909, allocations: 3.953 kB / 0.7548 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.491, allocations: 159.1 kB / 0.755 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.4911, allocations: 4 kB / 0.755 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.4911, allocations: 3.938 kB / 0.755 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.175e-05/0.4912, allocations: 16 kB / 0.755 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.955e-05/0.4913, allocations: 33.69 kB / 0.7551 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4913, allocations: 0 / 0.7551 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.4913, allocations: 3.984 kB / 0.7551 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4913, allocations: 3.953 kB / 0.7551 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.4916, allocations: 142.2 kB / 0.7552 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.4918, allocations: 42.55 kB / 0.7552 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.4919, allocations: 24.86 kB / 0.7553 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.4919, allocations: 0 / 0.7553 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.492, allocations: 38.56 kB / 0.7553 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.492, allocations: 0 / 0.7553 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006745/0.4927, allocations: 274.3 kB / 0.7556 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.4927, allocations: 55.34 kB / 0.7556 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.4928, allocations: 101 kB / 0.7557 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.4928, allocations: 25.7 kB / 0.7557 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.4929, allocations: 80.14 kB / 0.7558 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.4929, allocations: 19.75 kB / 0.7558 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.4929, allocations: 0 / 0.7558 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.4931, allocations: 314.8 kB / 0.7561 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.4931, allocations: 15.98 kB / 0.7561 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.4932, allocations: 4 kB / 0.7561 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.4932, allocations: 12 kB / 0.7562 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4932, allocations: 4 kB / 0.7562 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001418/0.4934, allocations: 65.53 kB / 0.7562 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4934, allocations: 5.406 kB / 0.7562 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4934, allocations: 0 / 0.7562 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4934, allocations: 4 kB / 0.7562 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.4936, allocations: 8 kB / 0.7562 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.4936, allocations: 0 / 0.7562 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.4936, allocations: 0 / 0.7562 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.4936, allocations: 7.984 kB / 0.7563 GB, free: 6.203 MB / 0.6355 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.677e-05/0.4937, allocations: 108.9 kB / 0.7564 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001116/0.4938, allocations: 57.62 kB / 0.7564 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.4939, allocations: 7.906 kB / 0.7564 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.4941, allocations: 62.09 kB / 0.7565 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4941, allocations: 3.938 kB / 0.7565 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4941, allocations: 0 / 0.7565 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4941, allocations: 7.953 kB / 0.7565 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.4946, allocations: 284 kB / 0.7568 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4946, allocations: 0 / 0.7568 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.4947, allocations: 20.02 kB / 0.7568 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4947, allocations: 0 / 0.7568 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.4947, allocations: 256 / 0.7568 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4948, allocations: 0 / 0.7568 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.4948, allocations: 11.95 kB / 0.7568 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.495, allocations: 174.1 kB / 0.757 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.4951, allocations: 97.47 kB / 0.757 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.4951, allocations: 0 / 0.757 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4953, allocations: 7.953 kB / 0.7571 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.4953, allocations: 3.938 kB / 0.7571 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4953, allocations: 7.984 kB / 0.7571 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.4954, allocations: 79.27 kB / 0.7571 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.61e-07/0.4954, allocations: 0 / 0.7571 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003879/0.4958, allocations: 24 kB / 0.7572 GB, free: 5.156 MB / 0.6355 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.0006994/0.4965, allocations: 0.8149 MB / 0.758 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.4967, allocations: 28.23 kB / 0.758 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4967, allocations: 0 / 0.758 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/0.4967, allocations: 16.06 kB / 0.758 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.4969, allocations: 8.156 kB / 0.758 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006551/0.4976, allocations: 186.9 kB / 0.7582 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4979, allocations: 0.6807 MB / 0.7589 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.847e-05/0.498, allocations: 11.98 kB / 0.7589 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.4981, allocations: 15.44 kB / 0.7589 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/0.4981, allocations: 0 / 0.7589 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03908/0.5372, allocations: 1.029 MB / 0.7599 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003642/0.5376, allocations: 189.3 kB / 0.7601 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/2.918, allocations: 5.312 kB / 0.7601 GB, free: 2.078 MB / 0.6355 GB