Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.297/2.297, allocations: 253.2 MB / 260.6 MB, free: 7.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001378, allocations: 180.8 kB / 319.9 MB, free: 3.043 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.6 MB / 0.5709 GB, free: 15.28 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001053, allocations: 94.58 kB / 0.6751 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.305e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1966, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.838/1.035, allocations: 132.6 MB / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/1.035, allocations: 77.83 kB / 1.018 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0221/1.057, allocations: 4.485 MB / 1.023 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/1.057, allocations: 8 kB / 1.023 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.057, allocations: 0 / 1.023 GB, free: 1.031 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.0004047/1.058, allocations: 345.8 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.058, allocations: 16.02 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/1.058, allocations: 7.938 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/1.058, allocations: 167 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/1.058, allocations: 0 / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/1.058, allocations: 4 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.893e-05/1.058, allocations: 11.5 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/1.058, allocations: 50.27 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.058, allocations: 0 / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.058, allocations: 0 / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.058, allocations: 3.938 kB / 1.023 GB, free: 368 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/1.058, allocations: 149.5 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/1.059, allocations: 56.5 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/1.059, allocations: 20.42 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/1.059, allocations: 7.812 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/1.059, allocations: 30.56 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/1.059, allocations: 0 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001127/1.06, allocations: 0.5126 MB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/1.06, allocations: 54.91 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/1.06, allocations: 93 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/1.06, allocations: 25.7 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/1.06, allocations: 84 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/1.06, allocations: 39.02 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/1.06, allocations: 0.9375 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.06, allocations: 326.5 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/1.06, allocations: 19.38 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/1.06, allocations: 14.56 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.475e-05/1.061, allocations: 19.44 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.061, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002263/1.061, allocations: 104.4 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.061, allocations: 4 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/1.061, allocations: 0 / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.061, allocations: 4 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/1.061, allocations: 24.02 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/1.061, allocations: 3.938 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/1.061, allocations: 0 / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/1.061, allocations: 4 kB / 1.025 GB, free: 14.69 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 (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 8.714e-05/1.061, allocations: 112.9 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/1.061, allocations: 7.438 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/1.062, allocations: 92.56 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.062, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/1.062, allocations: 7.969 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.062, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/1.062, allocations: 322.7 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.062, allocations: 0 / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/1.062, allocations: 27.42 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.062, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/1.062, allocations: 4 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.062, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.062, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/1.063, allocations: 205.8 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/1.063, allocations: 81.02 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/1.063, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/1.063, allocations: 8.094 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/1.063, allocations: 7.922 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/1.063, allocations: 4 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.043e-05/1.063, allocations: 82.59 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.8e-07/1.063, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000385/1.064, allocations: 39.92 kB / 1.026 GB, free: 13.67 MB / 0.6511 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.0002836/1.064, allocations: 139.1 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001785/1.064, allocations: 62.89 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.064, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.552e-05/1.064, allocations: 30.69 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/1.064, allocations: 5.984 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/1.065, allocations: 234.1 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/1.065, allocations: 0.6903 MB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.74e-05/1.065, allocations: 7.953 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/1.065, allocations: 15.44 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of SimCode: time 6.51e-07/1.065, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of Templates: time 0.004127/1.07, allocations: 0.8472 MB / 1.028 GB, free: 11.66 MB / 0.6511 GB