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/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_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.089/4.089, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.485e-05, allocations: 3.344 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2196, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2338/0.4535, allocations: 124.7 MB / 0.7507 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.4539, allocations: 79.94 kB / 0.7508 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02206/0.476, allocations: 4.464 MB / 0.7551 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.476, allocations: 3.938 kB / 0.7551 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.476, allocations: 0 / 0.7551 GB, free: 7.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004217/0.4765, allocations: 354.4 kB / 0.7555 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.4765, allocations: 8.031 kB / 0.7555 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.4766, allocations: 7.953 kB / 0.7555 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.4767, allocations: 163 kB / 0.7556 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.4768, allocations: 4 kB / 0.7556 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.4768, allocations: 7.938 kB / 0.7556 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.36e-05/0.4769, allocations: 15.98 kB / 0.7557 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.477, allocations: 53.61 kB / 0.7557 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.4771, allocations: 3.906 kB / 0.7557 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4771, allocations: 4 kB / 0.7557 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4771, allocations: 3.953 kB / 0.7557 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.4773, allocations: 150.2 kB / 0.7559 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4775, allocations: 46.56 kB / 0.7559 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/0.4776, allocations: 28.86 kB / 0.7559 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.4776, allocations: 0 / 0.7559 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.4776, allocations: 34.56 kB / 0.756 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.4777, allocations: 0 / 0.756 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001115/0.4788, allocations: 0.5051 MB / 0.7565 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.4788, allocations: 55.34 kB / 0.7565 GB, free: 6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.4789, allocations: 92.98 kB / 0.7566 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.479, allocations: 29.83 kB / 0.7566 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.479, allocations: 84.14 kB / 0.7567 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.4791, allocations: 39.39 kB / 0.7567 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.4791, allocations: 0 / 0.7567 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4792, allocations: 318.8 kB / 0.7571 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.4793, allocations: 16 kB / 0.7571 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.4794, allocations: 16.09 kB / 0.7571 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.278e-05/0.4795, allocations: 31.92 kB / 0.7571 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4795, allocations: 3.938 kB / 0.7571 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000207/0.4797, allocations: 93.84 kB / 0.7572 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4797, allocations: 4 kB / 0.7572 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4798, allocations: 0 / 0.7572 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4798, allocations: 0 / 0.7572 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.48, allocations: 23.98 kB / 0.7572 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.48, allocations: 0 / 0.7572 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.48, allocations: 0 / 0.7572 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.4801, allocations: 4 kB / 0.7572 GB, free: 5.227 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 (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 9.24e-05/0.4802, allocations: 109.6 kB / 0.7573 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001822/0.4803, allocations: 85.61 kB / 0.7574 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.4804, allocations: 7.906 kB / 0.7574 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.4806, allocations: 86.08 kB / 0.7575 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.4807, allocations: 0 / 0.7575 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4807, allocations: 3.938 kB / 0.7575 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4807, allocations: 11.94 kB / 0.7575 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.4812, allocations: 319.6 kB / 0.7578 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4812, allocations: 0 / 0.7578 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.4814, allocations: 19.98 kB / 0.7579 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.4814, allocations: 8 kB / 0.7579 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4815, allocations: 0 / 0.7579 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4815, allocations: 0 / 0.7579 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/0.4815, allocations: 7.891 kB / 0.7579 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.4818, allocations: 211.4 kB / 0.7581 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.4819, allocations: 81.02 kB / 0.7581 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.4819, allocations: 0 / 0.7581 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.4821, allocations: 4.031 kB / 0.7581 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.4821, allocations: 16 kB / 0.7582 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.4821, allocations: 4 kB / 0.7582 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.4822, allocations: 79.34 kB / 0.7582 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4822, allocations: 0 / 0.7582 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003908/0.4826, allocations: 43.86 kB / 0.7583 GB, free: 4.055 MB / 0.6355 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.0008089/0.4834, allocations: 0.7827 MB / 0.759 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.4836, allocations: 63.92 kB / 0.7591 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4836, allocations: 0 / 0.7591 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-05/0.4837, allocations: 24 kB / 0.7591 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.4839, allocations: 4.812 kB / 0.7591 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008276/0.4847, allocations: 281.7 kB / 0.7594 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4851, allocations: 0.6885 MB / 0.7601 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.005e-05/0.4851, allocations: 4 kB / 0.7601 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.4852, allocations: 23.44 kB / 0.7601 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/0.4852, allocations: 0 / 0.7601 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.5235, allocations: 1.45 MB / 0.7615 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003659/0.524, allocations: 186.3 kB / 0.7617 GB, free: 472 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/2.879, allocations: 0 / 0.7617 GB, free: 472 kB / 0.6355 GB