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.192/2.192, allocations: 253.2 MB / 260.6 MB, free: 7.453 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.001433/0.001432, allocations: 177.4 kB / 319.9 MB, free: 3.078 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.013/2.013, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001149/0.001149, allocations: 96.92 kB / 0.6751 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.874e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1881, allocations: 106.2 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8319/1.02, allocations: 132.5 MB / 1.018 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.02, allocations: 84.38 kB / 1.018 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01889/1.039, allocations: 3.985 MB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.039, allocations: 0 / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.896e-06/1.039, allocations: 4 kB / 1.022 GB, free: 1.52 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.0003358/1.04, allocations: 333.7 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.04, allocations: 20.02 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/1.04, allocations: 3.953 kB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/1.04, allocations: 171 kB / 1.023 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/1.04, allocations: 0.9375 kB / 1.023 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/1.04, allocations: 0 / 1.023 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.283e-05/1.04, allocations: 11.38 kB / 1.023 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.7e-05/1.04, allocations: 33.69 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.04, allocations: 0 / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/1.04, allocations: 0 / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.04, allocations: 0 / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/1.04, allocations: 148.9 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/1.041, allocations: 37.95 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/1.041, allocations: 16.8 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/1.041, allocations: 4.031 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/1.041, allocations: 38.55 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/1.041, allocations: 0 / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.000575/1.041, allocations: 282.9 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/1.041, allocations: 51.41 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/1.041, allocations: 89 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/1.041, allocations: 25.7 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/1.042, allocations: 83.58 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/1.042, allocations: 20.72 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/1.042, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.042, allocations: 326.2 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.431e-05/1.042, allocations: 11.12 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/1.042, allocations: 7.188 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/1.042, allocations: 8 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/1.042, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001254/1.042, allocations: 59.78 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.042, allocations: 4 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/1.042, allocations: 3.938 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/1.042, allocations: 4 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/1.042, allocations: 14.36 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/1.042, allocations: 4 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/1.042, allocations: 384 / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/1.042, allocations: 4 kB / 1.024 GB, free: 15.55 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.592e-05/1.042, allocations: 104.9 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/1.042, allocations: 4 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/1.043, allocations: 64.52 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/1.043, allocations: 11.92 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.043, allocations: 128 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.043, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/1.043, allocations: 291.2 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.043, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/1.043, allocations: 12 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/1.043, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/1.043, allocations: 3.938 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.043, allocations: 7.984 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.043, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/1.043, allocations: 187.7 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/1.043, allocations: 84.67 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/1.043, allocations: 8.016 kB / 1.024 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/1.044, allocations: 0 / 1.024 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/1.044, allocations: 0 / 1.024 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/1.044, allocations: 4 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.915e-05/1.044, allocations: 83.3 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.044, allocations: 4 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003506/1.044, allocations: 31.23 kB / 1.025 GB, free: 14.6 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.0002289/1.044, allocations: 131 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001021/1.044, allocations: 22.25 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.044, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.062e-05/1.044, allocations: 19.31 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/1.045, allocations: 7.984 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/1.045, allocations: 140 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/1.045, allocations: 0.6885 MB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.52e-05/1.045, allocations: 400 / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/1.045, allocations: 11.44 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/1.045, allocations: 4 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of Templates: time 0.003319/1.049, allocations: 0.5638 MB / 1.026 GB, free: 13.02 MB / 0.6511 GB