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_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.374/4.374, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.677e-05, allocations: 4.438 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2193, allocations: 98.73 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2369/0.4563, allocations: 124.5 MB / 0.7504 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.4567, allocations: 83.94 kB / 0.7505 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01403/0.4708, allocations: 2.802 MB / 0.7533 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4708, allocations: 0 / 0.7533 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4708, allocations: 4 kB / 0.7533 GB, free: 9.613 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.0003926/0.4712, allocations: 343.1 kB / 0.7536 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.4713, allocations: 12.03 kB / 0.7536 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.4714, allocations: 3.953 kB / 0.7536 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.4715, allocations: 163 kB / 0.7538 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4715, allocations: 4 kB / 0.7538 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.4716, allocations: 7.875 kB / 0.7538 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.869e-05/0.4716, allocations: 11.98 kB / 0.7538 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.384e-05/0.4717, allocations: 33.7 kB / 0.7538 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.4718, allocations: 4 kB / 0.7538 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4718, allocations: 0 / 0.7538 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4718, allocations: 3.953 kB / 0.7538 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.472, allocations: 134.2 kB / 0.754 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.4722, allocations: 42.55 kB / 0.754 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.4723, allocations: 16.86 kB / 0.754 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.4723, allocations: 3.984 kB / 0.754 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.4724, allocations: 42.56 kB / 0.7541 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.614e-06/0.4724, allocations: 0 / 0.7541 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006214/0.473, allocations: 282.2 kB / 0.7543 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.4731, allocations: 55.39 kB / 0.7544 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.4731, allocations: 93 kB / 0.7545 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.4732, allocations: 25.7 kB / 0.7545 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.4732, allocations: 84.14 kB / 0.7546 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.4733, allocations: 11.81 kB / 0.7546 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.4733, allocations: 0 / 0.7546 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.4734, allocations: 322.8 kB / 0.7549 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.734e-05/0.4735, allocations: 12 kB / 0.7549 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.217e-05/0.4735, allocations: 11.97 kB / 0.7549 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.4735, allocations: 12 kB / 0.7549 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4736, allocations: 0 / 0.7549 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000136/0.4737, allocations: 65.53 kB / 0.755 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.4737, allocations: 4 kB / 0.755 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4738, allocations: 4 kB / 0.755 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4738, allocations: 4 kB / 0.755 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.4739, allocations: 11.98 kB / 0.755 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4739, allocations: 0 / 0.755 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.673e-05/0.4739, allocations: 0 / 0.755 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.474, allocations: 4 kB / 0.755 GB, free: 7.578 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 7.654e-05/0.474, allocations: 104.9 kB / 0.7551 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001138/0.4742, allocations: 61.62 kB / 0.7552 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.4742, allocations: 3.906 kB / 0.7552 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.4744, allocations: 70.03 kB / 0.7552 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.4744, allocations: 3.938 kB / 0.7552 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.4744, allocations: 7.984 kB / 0.7553 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4744, allocations: 3.953 kB / 0.7553 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.4748, allocations: 281.4 kB / 0.7555 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4748, allocations: 0 / 0.7555 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.475, allocations: 12 kB / 0.7555 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.475, allocations: 0 / 0.7555 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.475, allocations: 4.031 kB / 0.7555 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.475, allocations: 256 / 0.7555 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.475, allocations: 7.953 kB / 0.7555 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.4753, allocations: 186.1 kB / 0.7557 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.4753, allocations: 85 kB / 0.7558 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.4754, allocations: 0 / 0.7558 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.4755, allocations: 12.02 kB / 0.7558 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.4755, allocations: 3.984 kB / 0.7558 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.4755, allocations: 4 kB / 0.7558 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.882e-05/0.4756, allocations: 79.28 kB / 0.7559 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4756, allocations: 0 / 0.7559 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003558/0.4759, allocations: 23.94 kB / 0.7559 GB, free: 6.535 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0006419/0.4766, allocations: 0.8188 MB / 0.7567 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.4767, allocations: 28 kB / 0.7568 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4767, allocations: 0 / 0.7568 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-05/0.4768, allocations: 19.94 kB / 0.7568 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.477, allocations: 0 / 0.7568 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.4776, allocations: 187.4 kB / 0.7569 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.4779, allocations: 0.6845 MB / 0.7576 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.296e-05/0.478, allocations: 7.938 kB / 0.7576 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.478, allocations: 15.42 kB / 0.7576 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.478, allocations: 4 kB / 0.7576 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.5131, allocations: 1.038 MB / 0.7587 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003324/0.5135, allocations: 197.9 kB / 0.7588 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/2.952, allocations: 4 kB / 0.7588 GB, free: 3.441 MB / 0.6355 GB