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.288/2.288, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001578/0.001578, allocations: 179.7 kB / 325.6 MB, free: 2.836 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.48/2.48, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001068/0.001068, allocations: 98.25 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004703, allocations: 16.31 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2185, allocations: 106.3 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001835/0.2204, allocations: 1.009 MB / 0.8999 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000939/0.2214, allocations: 348.2 kB / 0.9002 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.2215, allocations: 0 / 0.9002 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.2215, allocations: 3.938 kB / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.358e-05/0.2216, allocations: 4 kB / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.2221, allocations: 85.19 kB / 0.9003 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.506e-05/0.2222, allocations: 19.98 kB / 0.9003 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.2223, allocations: 3.938 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.2223, allocations: 15.92 kB / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/0.2224, allocations: 11.98 kB / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.2224, allocations: 0 / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004904/0.2229, allocations: 179.7 kB / 0.9005 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.223, allocations: 7.969 kB / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.223, allocations: 33.7 kB / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.2232, allocations: 47.94 kB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2233, allocations: 3.938 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2233, allocations: 3.938 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.2233, allocations: 8 kB / 0.9006 GB, free: 64.19 MB / 0.6042 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.0004084/0.2237, allocations: 347.2 kB / 0.9009 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2238, allocations: 8.031 kB / 0.9009 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.2238, allocations: 4 kB / 0.901 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.618e-05/0.2239, allocations: 167 kB / 0.9011 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.224, allocations: 4 kB / 0.9011 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.224, allocations: 4 kB / 0.9011 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.2242, allocations: 49.69 kB / 0.9012 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.2242, allocations: 7.906 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2243, allocations: 0 / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2243, allocations: 0 / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.577e-05/0.2244, allocations: 23.92 kB / 0.9012 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.2246, allocations: 169.6 kB / 0.9014 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.2248, allocations: 58.62 kB / 0.9014 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.2248, allocations: 0 / 0.9014 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.2249, allocations: 38.56 kB / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.2249, allocations: 0 / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001697/0.2266, allocations: 0.5887 MB / 0.902 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.2266, allocations: 55.34 kB / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.2267, allocations: 97.86 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.2268, allocations: 29.7 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.2268, allocations: 87.98 kB / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.2269, allocations: 35.45 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.2269, allocations: 8 kB / 0.9023 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/0.227, allocations: 318.8 kB / 0.9026 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.187e-05/0.2271, allocations: 20 kB / 0.9026 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.2272, allocations: 20.11 kB / 0.9027 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.2273, allocations: 34.25 kB / 0.9027 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2273, allocations: 0 / 0.9027 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002664/0.2276, allocations: 101.6 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2276, allocations: 4 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2276, allocations: 0 / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2276, allocations: 0 / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2279, allocations: 31.92 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2279, allocations: 0 / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.228, allocations: 0 / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.228, allocations: 4 kB / 0.9028 GB, free: 61.61 MB / 0.6042 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 8.827e-05/0.2281, allocations: 117.8 kB / 0.9029 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.2281, allocations: 4 kB / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.2285, allocations: 109.4 kB / 0.9031 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2285, allocations: 4 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.2285, allocations: 3.984 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2285, allocations: 0 / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.2291, allocations: 346.5 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2291, allocations: 8.094 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.2294, allocations: 23.88 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2294, allocations: 4 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.2294, allocations: 4 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.2294, allocations: 7.984 kB / 0.9034 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2295, allocations: 0 / 0.9034 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.2298, allocations: 215.3 kB / 0.9036 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.2299, allocations: 77.11 kB / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.2299, allocations: 8.094 kB / 0.9037 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.2301, allocations: 0 / 0.9037 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.2302, allocations: 11.98 kB / 0.9037 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.2302, allocations: 4 kB / 0.9037 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.113e-05/0.2302, allocations: 75.28 kB / 0.9038 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2303, allocations: 3.938 kB / 0.9038 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005625/0.2308, allocations: 43.92 kB / 0.9039 GB, free: 60.45 MB / 0.6042 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.0002906/0.2311, allocations: 135.3 kB / 0.904 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.2314, allocations: 59.97 kB / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2314, allocations: 0 / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.2315, allocations: 35.92 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.2318, allocations: 4.656 kB / 0.9041 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/0.2327, allocations: 340.6 kB / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.2328, allocations: 0.6887 MB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.978e-05/0.233, allocations: 4 kB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.233, allocations: 15.44 kB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/0.233, allocations: 0 / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.005269/0.2383, allocations: 0.8923 MB / 0.906 GB, free: 58.25 MB / 0.6042 GB