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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.204/2.204, allocations: 252.6 MB / 265.2 MB, free: 5.793 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.001426/0.001426, allocations: 177.6 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001101/0.001101, allocations: 98.12 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.12e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1904, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8823/1.073, allocations: 132.2 MB / 1.024 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/1.073, allocations: 78.75 kB / 1.024 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02035/1.094, allocations: 3.999 MB / 1.028 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.553e-06/1.094, allocations: 4 kB / 1.028 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.393e-06/1.094, allocations: 0 / 1.028 GB, free: 14.95 MB / 0.6511 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.0004215/1.094, allocations: 337.5 kB / 1.028 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.094, allocations: 11.97 kB / 1.028 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/1.094, allocations: 7.953 kB / 1.028 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/1.094, allocations: 163.1 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/1.094, allocations: 3.188 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/1.094, allocations: 4 kB / 1.028 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/1.095, allocations: 45.19 kB / 1.029 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.095, allocations: 0 / 1.029 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.095, allocations: 0 / 1.029 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.095, allocations: 0 / 1.029 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.527e-05/1.095, allocations: 14.55 kB / 1.029 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/1.095, allocations: 167.9 kB / 1.029 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/1.095, allocations: 38.02 kB / 1.029 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/1.095, allocations: 24.25 kB / 1.029 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/1.095, allocations: 4 kB / 1.029 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/1.095, allocations: 33.31 kB / 1.029 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/1.095, allocations: 0 / 1.029 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.000724/1.096, allocations: 292.6 kB / 1.029 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/1.096, allocations: 58.78 kB / 1.029 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/1.096, allocations: 92.98 kB / 1.029 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/1.096, allocations: 29.7 kB / 1.029 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/1.096, allocations: 83.52 kB / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/1.096, allocations: 15.75 kB / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/1.096, allocations: 3.75 kB / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.096, allocations: 331 kB / 1.03 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/1.096, allocations: 11.19 kB / 1.03 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/1.097, allocations: 11.81 kB / 1.03 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/1.097, allocations: 7.438 kB / 1.03 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.097, allocations: 0 / 1.03 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001475/1.097, allocations: 72.39 kB / 1.03 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.097, allocations: 8 kB / 1.03 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.097, allocations: 0 / 1.03 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/1.097, allocations: 0 / 1.03 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/1.097, allocations: 11.98 kB / 1.03 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.097, allocations: 0 / 1.03 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/1.097, allocations: 0 / 1.03 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/1.097, allocations: 7.938 kB / 1.03 GB, free: 12.91 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 (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.558e-05/1.097, allocations: 108.6 kB / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/1.097, allocations: 8 kB / 1.03 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/1.097, allocations: 68.34 kB / 1.03 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.097, allocations: 384 / 1.03 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.097, allocations: 7.984 kB / 1.03 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.097, allocations: 0 / 1.03 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/1.098, allocations: 310 kB / 1.03 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.098, allocations: 0 / 1.03 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/1.098, allocations: 19.61 kB / 1.03 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/1.098, allocations: 0 / 1.03 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/1.098, allocations: 4.031 kB / 1.03 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/1.098, allocations: 0 / 1.03 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/1.098, allocations: 11.92 kB / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/1.098, allocations: 184.4 kB / 1.03 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/1.098, allocations: 81.14 kB / 1.031 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/1.098, allocations: 3.984 kB / 1.031 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/1.099, allocations: 7.688 kB / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/1.099, allocations: 7.953 kB / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/1.099, allocations: 4 kB / 1.031 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.83e-05/1.099, allocations: 75.28 kB / 1.031 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.099, allocations: 0 / 1.031 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003489/1.099, allocations: 35.36 kB / 1.031 GB, free: 11.93 MB / 0.6511 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.0002509/1.099, allocations: 127 kB / 1.031 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001407/1.099, allocations: 39.73 kB / 1.031 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.099, allocations: 3.938 kB / 1.031 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.802e-05/1.099, allocations: 19.25 kB / 1.031 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/1.1, allocations: 12.16 kB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/1.1, allocations: 146.2 kB / 1.031 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/1.1, allocations: 0.6887 MB / 1.032 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.184e-05/1.1, allocations: 4.391 kB / 1.032 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/1.101, allocations: 11.44 kB / 1.032 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of SimCode: time 7.22e-07/1.101, allocations: 0 / 1.032 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of Templates: time 0.003647/1.104, allocations: 0.5862 MB / 1.032 GB, free: 10.31 MB / 0.6511 GB