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_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.212/2.212, allocations: 252.6 MB / 265.2 MB, free: 5.695 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.001493/0.001493, allocations: 171.9 kB / 324.5 MB, free: 14.43 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 1.958/1.958, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001122/0.001122, allocations: 94.03 kB / 0.6797 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.794e-05, allocations: 7.938 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1916, allocations: 106.2 MB / 0.8949 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8469/1.039, allocations: 132.1 MB / 1.024 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/1.039, allocations: 78.02 kB / 1.024 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01665/1.056, allocations: 2.835 MB / 1.027 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.024e-06/1.056, allocations: 0 / 1.027 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.777e-06/1.056, allocations: 0 / 1.027 GB, free: 15.96 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.0005126/1.056, allocations: 345.5 kB / 1.027 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/1.056, allocations: 16.02 kB / 1.027 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/1.056, allocations: 3.953 kB / 1.027 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/1.056, allocations: 164 kB / 1.027 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/1.057, allocations: 3.938 kB / 1.027 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/1.057, allocations: 7.875 kB / 1.027 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/1.057, allocations: 40.94 kB / 1.027 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.057, allocations: 0 / 1.027 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/1.057, allocations: 0 / 1.027 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/1.057, allocations: 4 kB / 1.027 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/1.057, allocations: 4 kB / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/1.057, allocations: 169.3 kB / 1.027 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/1.058, allocations: 41.67 kB / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/1.058, allocations: 16.8 kB / 1.028 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/1.058, allocations: 0 / 1.028 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/1.058, allocations: 42.38 kB / 1.028 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 8.105e-06/1.058, allocations: 4 kB / 1.028 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.001026/1.059, allocations: 300.3 kB / 1.028 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/1.059, allocations: 51.41 kB / 1.028 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/1.059, allocations: 96.11 kB / 1.028 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/1.059, allocations: 29.64 kB / 1.028 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/1.059, allocations: 84.14 kB / 1.028 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/1.059, allocations: 15.67 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/1.059, allocations: 0 / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.059, allocations: 326.7 kB / 1.028 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/1.059, allocations: 7.5 kB / 1.028 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.294e-05/1.059, allocations: 8 kB / 1.028 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.661e-05/1.06, allocations: 14.69 kB / 1.028 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.06, allocations: 3.938 kB / 1.028 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002122/1.06, allocations: 65.16 kB / 1.029 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.06, allocations: 7.938 kB / 1.029 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.06, allocations: 0 / 1.029 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.06, allocations: 0 / 1.029 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/1.06, allocations: 15.98 kB / 1.029 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/1.06, allocations: 4 kB / 1.029 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/1.06, allocations: 0 / 1.029 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/1.06, allocations: 4 kB / 1.029 GB, free: 13.92 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 0.0001011/1.06, allocations: 108.6 kB / 1.029 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/1.06, allocations: 4 kB / 1.029 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/1.061, allocations: 72.52 kB / 1.029 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.061, allocations: 0 / 1.029 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.061, allocations: 0 / 1.029 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.061, allocations: 4 kB / 1.029 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005521/1.061, allocations: 317.7 kB / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.061, allocations: 0 / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/1.061, allocations: 15.86 kB / 1.029 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/1.061, allocations: 4 kB / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/1.062, allocations: 0 / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.062, allocations: 0 / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/1.062, allocations: 0 / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/1.062, allocations: 198.3 kB / 1.029 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/1.062, allocations: 85.09 kB / 1.029 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/1.062, allocations: 4.031 kB / 1.029 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/1.062, allocations: 0 / 1.029 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/1.062, allocations: 7.953 kB / 1.029 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/1.062, allocations: 3 kB / 1.029 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.669e-05/1.062, allocations: 91.27 kB / 1.029 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.81e-07/1.062, allocations: 0 / 1.029 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004811/1.063, allocations: 27.81 kB / 1.029 GB, free: 12.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0003104/1.063, allocations: 123.2 kB / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001821/1.063, allocations: 30.88 kB / 1.03 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.063, allocations: 0 / 1.03 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/1.064, allocations: 23.86 kB / 1.03 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/1.064, allocations: 7.938 kB / 1.03 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/1.064, allocations: 137.9 kB / 1.03 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/1.065, allocations: 0.6848 MB / 1.03 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.66e-05/1.065, allocations: 4 kB / 1.03 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/1.065, allocations: 15.44 kB / 1.03 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.402e-06/1.065, allocations: 0 / 1.03 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.004325/1.069, allocations: 0.6051 MB / 1.031 GB, free: 11.32 MB / 0.6511 GB