Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadModel(Buildings): time 4.183/4.183, allocations: 433.4 MB / 440.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.095e-05, allocations: 4 kB / 0.5325 GB, free: 1.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5042, allocations: 98.7 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2279/0.7322, allocations: 125.4 MB / 0.7513 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004568/0.7327, allocations: 87.89 kB / 0.7514 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02304/0.7558, allocations: 4.237 MB / 0.7556 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.955e-06/0.7558, allocations: 0 / 0.7556 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.16e-06/0.7559, allocations: 0 / 0.7556 GB, free: 13.9 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005125/0.7564, allocations: 366.3 kB / 0.7559 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.7564, allocations: 16.02 kB / 0.7559 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.7565, allocations: 11.86 kB / 0.7559 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.7567, allocations: 163.1 kB / 0.7561 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.7567, allocations: 8 kB / 0.7561 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.7568, allocations: 4 kB / 0.7561 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001095/0.7569, allocations: 28 kB / 0.7561 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.757, allocations: 65.67 kB / 0.7562 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.7571, allocations: 3.938 kB / 0.7562 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.7571, allocations: 0 / 0.7562 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-06/0.7571, allocations: 0 / 0.7562 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000628/0.7577, allocations: 309.1 kB / 0.7565 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.7579, allocations: 54.56 kB / 0.7565 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.7579, allocations: 20.8 kB / 0.7566 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.758, allocations: 4 kB / 0.7566 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.758, allocations: 38.56 kB / 0.7566 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.321e-06/0.758, allocations: 0 / 0.7566 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001115/0.7592, allocations: 0.5246 MB / 0.7571 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.7592, allocations: 59.34 kB / 0.7572 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.481e-05/0.7593, allocations: 93 kB / 0.7573 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.7594, allocations: 25.7 kB / 0.7573 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.7594, allocations: 92.03 kB / 0.7574 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.7595, allocations: 43.39 kB / 0.7574 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-06/0.7595, allocations: 0 / 0.7574 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7597, allocations: 314.9 kB / 0.7577 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-05/0.7598, allocations: 23.94 kB / 0.7577 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.7598, allocations: 24 kB / 0.7578 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.145e-05/0.7599, allocations: 19.98 kB / 0.7578 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-06/0.7599, allocations: 0 / 0.7578 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002102/0.7601, allocations: 89.7 kB / 0.7579 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.7602, allocations: 11.95 kB / 0.7579 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.943e-06/0.7602, allocations: 0 / 0.7579 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.7602, allocations: 4 kB / 0.7579 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.7604, allocations: 31.92 kB / 0.7579 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.195e-06/0.7604, allocations: 0.5469 kB / 0.7579 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.7605, allocations: 11.98 kB / 0.7579 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.7606, allocations: 0 / 0.7579 GB, free: 11.19 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.571e-05/0.7607, allocations: 109 kB / 0.758 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.7607, allocations: 4 kB / 0.758 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.761, allocations: 110 kB / 0.7581 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-06/0.761, allocations: 3.938 kB / 0.7581 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.652e-06/0.7611, allocations: 0 / 0.7581 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.7611, allocations: 0 / 0.7581 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.7616, allocations: 327.2 kB / 0.7584 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-06/0.7616, allocations: 0 / 0.7584 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.7618, allocations: 27.98 kB / 0.7585 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.609e-06/0.7618, allocations: 11.89 kB / 0.7585 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.7619, allocations: 4 kB / 0.7585 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.527e-06/0.7619, allocations: 0 / 0.7585 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.58e-06/0.7619, allocations: 0 / 0.7585 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.7622, allocations: 211.4 kB / 0.7587 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.7623, allocations: 77.11 kB / 0.7588 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.7623, allocations: 11.88 kB / 0.7588 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.7625, allocations: 12.09 kB / 0.7588 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.7626, allocations: 7.984 kB / 0.7588 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.7626, allocations: 8 kB / 0.7588 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.7627, allocations: 75.28 kB / 0.7589 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.35e-07/0.7627, allocations: 0 / 0.7589 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003917/0.7631, allocations: 39.94 kB / 0.7589 GB, free: 10.08 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002622/0.7633, allocations: 139.1 kB / 0.759 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.7635, allocations: 71.92 kB / 0.7591 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.509e-06/0.7636, allocations: 0 / 0.7591 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/0.7636, allocations: 35.94 kB / 0.7591 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.7639, allocations: 4 kB / 0.7591 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.7645, allocations: 246 kB / 0.7594 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.7649, allocations: 0.6963 MB / 0.7601 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.827e-05/0.765, allocations: 16.66 kB / 0.7601 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.7651, allocations: 15.42 kB / 0.7601 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of SimCode: time 1.538e-06/0.7651, allocations: 0 / 0.7601 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of Templates: time 0.004255/0.7693, allocations: 1.003 MB / 0.7611 GB, free: 7.812 MB / 0.6355 GB