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.405/2.405, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001528/0.001528, allocations: 170.7 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.454/2.454, allocations: 205.4 MB / 0.5766 GB, free: 20.8 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.001134/0.001134, allocations: 104.6 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004896, allocations: 19.83 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2116, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001401/0.2131, allocations: 0.9843 MB / 0.8999 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006842/0.2138, allocations: 345.2 kB / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.2138, allocations: 0 / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.2139, allocations: 11.86 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.2139, allocations: 0 / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.2144, allocations: 70.28 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.898e-05/0.2144, allocations: 19.97 kB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.2145, allocations: 3.984 kB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.278e-05/0.2145, allocations: 8 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.2146, allocations: 11.92 kB / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.2146, allocations: 0 / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.215, allocations: 179.7 kB / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.215, allocations: 4 kB / 0.9005 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.215, allocations: 25.7 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.2152, allocations: 47.94 kB / 0.9005 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2152, allocations: 4 kB / 0.9006 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2152, allocations: 0 / 0.9006 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2152, allocations: 4 kB / 0.9006 GB, free: 63.75 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000373/0.2156, allocations: 347.5 kB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2157, allocations: 8.031 kB / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.2157, allocations: 4 kB / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/0.2158, allocations: 167 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2158, allocations: 3.938 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.2159, allocations: 8 kB / 0.9011 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.216, allocations: 33.69 kB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.216, allocations: 0 / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.216, allocations: 8 kB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2161, allocations: 4 kB / 0.9011 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.806e-05/0.2161, allocations: 7.984 kB / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.2163, allocations: 169.6 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.2165, allocations: 50.48 kB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.2165, allocations: 0 / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.2166, allocations: 30.56 kB / 0.9014 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.2166, allocations: 4 kB / 0.9014 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006554/0.2172, allocations: 303.2 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.2173, allocations: 51.41 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.059e-05/0.2173, allocations: 101.8 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.2174, allocations: 29.64 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.164e-05/0.2174, allocations: 80.14 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.2174, allocations: 23.66 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.2174, allocations: 4 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.2175, allocations: 318.8 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.2176, allocations: 12 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.2176, allocations: 8 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/0.2177, allocations: 15.94 kB / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2177, allocations: 3.984 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001222/0.2178, allocations: 69.83 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2178, allocations: 4 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2178, allocations: 0 / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2179, allocations: 3.984 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.218, allocations: 16 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.218, allocations: 0 / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.218, allocations: 7.938 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.218, allocations: 64 / 0.9024 GB, free: 61.63 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 (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 6.439e-05/0.2181, allocations: 117.8 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.2181, allocations: 7.938 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.2183, allocations: 73.64 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2183, allocations: 0 / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2183, allocations: 4 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2183, allocations: 0 / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.2187, allocations: 315.3 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2187, allocations: 0 / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.2188, allocations: 15.98 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2188, allocations: 0 / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2188, allocations: 4 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.738e-06/0.2189, allocations: 4 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2189, allocations: 0 / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.2191, allocations: 194 kB / 0.9031 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.2191, allocations: 81.14 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2192, allocations: 0 / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.2193, allocations: 0 / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.2193, allocations: 11.98 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.2193, allocations: 7.953 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.72e-05/0.2193, allocations: 79.86 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2194, allocations: 0 / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003891/0.2198, allocations: 20 kB / 0.9033 GB, free: 60.59 MB / 0.6042 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.000202/0.22, allocations: 127.2 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.2201, allocations: 31.94 kB / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2201, allocations: 0 / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.002e-05/0.2202, allocations: 19.92 kB / 0.9034 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.2204, allocations: 10.09 kB / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.2208, allocations: 237.5 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.221, allocations: 0.6848 MB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.422e-05/0.221, allocations: 4 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.2211, allocations: 11.44 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.2211, allocations: 0 / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.003313/0.2244, allocations: 0.5897 MB / 0.9049 GB, free: 58.85 MB / 0.6042 GB