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.086/2.086, allocations: 251.1 MB / 266.1 MB, free: 11.57 MB / 218.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 / 325.6 MB, free: 2.82 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.345/2.345, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001109/0.001109, allocations: 90.36 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004579, allocations: 12.81 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2006, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2215/0.4222, allocations: 132.3 MB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.4226, allocations: 79.95 kB / 1.028 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02022/0.4428, allocations: 4.004 MB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4428, allocations: 0 / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.4429, allocations: 0 / 1.032 GB, free: 8.906 MB / 0.6823 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.0004574/0.4433, allocations: 343.3 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.4434, allocations: 19.95 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.4434, allocations: 7.953 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.4436, allocations: 159.1 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.4437, allocations: 8 kB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.4437, allocations: 0 / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.4438, allocations: 41.69 kB / 1.033 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4439, allocations: 0 / 1.033 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4439, allocations: 4 kB / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4439, allocations: 0 / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/0.444, allocations: 7.938 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.4442, allocations: 169.6 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.4444, allocations: 42.59 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.4445, allocations: 0 / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4445, allocations: 38.56 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/0.4445, allocations: 0 / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0008025/0.4454, allocations: 310.6 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.4454, allocations: 55.34 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.4455, allocations: 96.98 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.4455, allocations: 25.7 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.4456, allocations: 80.14 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.4456, allocations: 23.73 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.4457, allocations: 4 kB / 1.033 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4458, allocations: 314.8 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.4459, allocations: 15.98 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.4459, allocations: 11.94 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.446, allocations: 12 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.446, allocations: 0 / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001649/0.4462, allocations: 69.59 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4462, allocations: 4 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4462, allocations: 0 / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4462, allocations: 4 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4463, allocations: 19.92 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.4464, allocations: 0 / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.4464, allocations: 0 / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.4464, allocations: 4 kB / 1.034 GB, free: 6.797 MB / 0.6823 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 () * Number of clocked 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.0001037/0.4465, allocations: 115.7 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.4466, allocations: 7.938 kB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.4468, allocations: 69.64 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4468, allocations: 0 / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4468, allocations: 4 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4468, allocations: 0 / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.4473, allocations: 319.5 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.4473, allocations: 4 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.4474, allocations: 15.92 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4474, allocations: 0 / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4474, allocations: 8 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.4475, allocations: 0 / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4475, allocations: 0 / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.4478, allocations: 190 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.4478, allocations: 85.12 kB / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.4479, allocations: 0 / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.448, allocations: 4 kB / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.448, allocations: 11.94 kB / 1.035 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.448, allocations: 8.062 kB / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.313e-05/0.4481, allocations: 75.28 kB / 1.035 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4481, allocations: 3.938 kB / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003616/0.4485, allocations: 32 kB / 1.035 GB, free: 5.746 MB / 0.6823 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 () * Number of clocked 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.0002542/0.4487, allocations: 123.2 kB / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.4489, allocations: 35.98 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4489, allocations: 0 / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.449, allocations: 15.94 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.4492, allocations: 14.03 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.4497, allocations: 225.7 kB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.4501, allocations: 0.6887 MB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.14e-05/0.4502, allocations: 4.391 kB / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.4502, allocations: 11.44 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of SimCode: time 8.01e-07/0.4502, allocations: 0 / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of Templates: time 0.003692/0.4539, allocations: 0.5748 MB / 1.036 GB, free: 4.027 MB / 0.6823 GB