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.172/2.172, allocations: 251.1 MB / 266.1 MB, free: 11.56 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.001444/0.001444, allocations: 172.1 kB / 325.6 MB, free: 2.797 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.291/2.291, allocations: 205.4 MB / 0.5766 GB, free: 21.09 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.001113/0.001112, allocations: 100.2 kB / 0.6811 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004844, allocations: 14.44 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1965, allocations: 106.2 MB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2615/0.458, allocations: 132.4 MB / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.4583, allocations: 83.94 kB / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02317/0.4815, allocations: 4.5 MB / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.15e-06/0.4816, allocations: 7.922 kB / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.4816, allocations: 0 / 1.033 GB, free: 8.695 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004799/0.4821, allocations: 355.2 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4821, allocations: 8.031 kB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.4822, allocations: 11.95 kB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.4823, allocations: 170.9 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4824, allocations: 0 / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.4824, allocations: 4 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.4826, allocations: 53.62 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4826, allocations: 3.984 kB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.4826, allocations: 0 / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.4826, allocations: 0 / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/0.4827, allocations: 19.98 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.483, allocations: 177.5 kB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.4831, allocations: 58.55 kB / 1.034 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.4832, allocations: 7.938 kB / 1.034 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.4832, allocations: 34.56 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.4832, allocations: 0 / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001605/0.4848, allocations: 0.584 MB / 1.034 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.4849, allocations: 51.41 kB / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.485, allocations: 93 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.485, allocations: 25.7 kB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.4851, allocations: 84.12 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.4851, allocations: 47.39 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.4852, allocations: 4 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4853, allocations: 318.8 kB / 1.035 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.4854, allocations: 19.98 kB / 1.035 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.4855, allocations: 26.23 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.722e-05/0.4855, allocations: 20.06 kB / 1.035 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4856, allocations: 0 / 1.035 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002416/0.4858, allocations: 109.5 kB / 1.035 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4858, allocations: 4 kB / 1.035 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4859, allocations: 4 kB / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4859, allocations: 0 / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.4861, allocations: 23.98 kB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4861, allocations: 0 / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.4861, allocations: 0 / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.4862, allocations: 8 kB / 1.035 GB, free: 6.109 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 (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 0.0001173/0.4863, allocations: 125.7 kB / 1.035 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.4863, allocations: 4 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.4866, allocations: 113.5 kB / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4867, allocations: 4 kB / 1.035 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4867, allocations: 0 / 1.035 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4867, allocations: 0 / 1.035 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.4872, allocations: 350.5 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4873, allocations: 4 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.4875, allocations: 27.92 kB / 1.036 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4875, allocations: 0 / 1.036 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4875, allocations: 0 / 1.036 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4875, allocations: 4 kB / 1.036 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4875, allocations: 4 kB / 1.036 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.4879, allocations: 215.4 kB / 1.036 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.488, allocations: 81.02 kB / 1.036 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.488, allocations: 4.031 kB / 1.036 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.4882, allocations: 4 kB / 1.036 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.4882, allocations: 11.97 kB / 1.036 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.4882, allocations: 4 kB / 1.036 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.743e-05/0.4883, allocations: 79.34 kB / 1.036 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4883, allocations: 3.938 kB / 1.036 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004162/0.4887, allocations: 51.88 kB / 1.036 GB, free: 4.934 MB / 0.6823 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 () * Number of clocked 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.0003046/0.489, allocations: 135.2 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.4893, allocations: 66.28 kB / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.4893, allocations: 0 / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.4894, allocations: 35.92 kB / 1.036 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.4896, allocations: 10.12 kB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008064/0.4904, allocations: 332.7 kB / 1.037 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.4907, allocations: 0.6887 MB / 1.037 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.097e-05/0.4908, allocations: 15.94 kB / 1.037 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.4909, allocations: 11.44 kB / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of SimCode: time 3.106e-06/0.4909, allocations: 0 / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of Templates: time 0.004378/0.4953, allocations: 0.8516 MB / 1.038 GB, free: 2.766 MB / 0.6823 GB