Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.654/2.654, allocations: 287.9 MB / 302.9 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 176.3 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 102.7 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004661, allocations: 19.86 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2088, allocations: 115.2 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00204/0.2109, allocations: 0.9976 MB / 0.9797 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.212, allocations: 351.2 kB / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.2121, allocations: 0 / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.2121, allocations: 3.938 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.463e-05/0.2122, allocations: 7.984 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.2129, allocations: 82.77 kB / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.19e-05/0.213, allocations: 15.98 kB / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.213, allocations: 3.984 kB / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.504e-05/0.2131, allocations: 11.94 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.39e-05/0.2132, allocations: 15.97 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.2132, allocations: 0 / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.2138, allocations: 183.7 kB / 0.9804 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.2138, allocations: 3.984 kB / 0.9804 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.2139, allocations: 33.7 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.2141, allocations: 56.09 kB / 0.9805 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.763e-06/0.2141, allocations: 4 kB / 0.9805 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.84e-06/0.2142, allocations: 4 kB / 0.9805 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.11e-06/0.2142, allocations: 0 / 0.9805 GB, free: 26.43 MB / 0.6198 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.0004618/0.2146, allocations: 343.3 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.2147, allocations: 16 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.2148, allocations: 4 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2149, allocations: 163 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.215, allocations: 4 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.215, allocations: 4 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.2152, allocations: 61.66 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.2153, allocations: 0 / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.2153, allocations: 0 / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.864e-06/0.2153, allocations: 0 / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.2154, allocations: 23.92 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.2157, allocations: 173.5 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.2159, allocations: 54.56 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.216, allocations: 8 kB / 0.9813 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.216, allocations: 30.56 kB / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.259e-06/0.2161, allocations: 0 / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001969/0.218, allocations: 0.5849 MB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.2181, allocations: 59.34 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.2182, allocations: 93.86 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.2182, allocations: 29.7 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.2183, allocations: 84.12 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.2184, allocations: 35.41 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.2184, allocations: 8 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.2185, allocations: 318.8 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.2186, allocations: 28.05 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.2187, allocations: 20 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.2189, allocations: 24 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.401e-06/0.2189, allocations: 0 / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003519/0.2193, allocations: 101.6 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2193, allocations: 4 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.641e-06/0.2193, allocations: 0 / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/0.2194, allocations: 3.984 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.2196, allocations: 31.92 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.784e-06/0.2197, allocations: 0 / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.2197, allocations: 0 / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.2198, allocations: 8 kB / 0.9827 GB, free: 23.84 MB / 0.6198 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.0001057/0.2199, allocations: 116 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.22, allocations: 4 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.2203, allocations: 105.6 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.279e-06/0.2204, allocations: 4 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.656e-06/0.2204, allocations: 4 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.028e-06/0.2204, allocations: 0 / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006663/0.2211, allocations: 354.5 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2211, allocations: 4.094 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.2214, allocations: 23.88 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.705e-06/0.2214, allocations: 0 / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.2215, allocations: 7.984 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.719e-06/0.2215, allocations: 4 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.2215, allocations: 0 / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.222, allocations: 215.7 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.2221, allocations: 85.08 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.2221, allocations: 4.031 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.2224, allocations: 3.984 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.2224, allocations: 8 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.2225, allocations: 4 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.2225, allocations: 79.22 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.12e-07/0.2225, allocations: 0 / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007682/0.2233, allocations: 35.98 kB / 0.9837 GB, free: 22.7 MB / 0.6198 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.0003504/0.2237, allocations: 135.3 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.224, allocations: 69.7 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.036e-06/0.224, allocations: 4 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2242, allocations: 31.92 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.2245, allocations: 9.375 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/0.2255, allocations: 328.7 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.2257, allocations: 0.6887 MB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.2259, allocations: 7.984 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.2259, allocations: 15.44 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of SimCode: time 1.959e-06/0.226, allocations: 0 / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.006221/0.2322, allocations: 0.8907 MB / 0.9858 GB, free: 20.5 MB / 0.6198 GB