Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.572/2.572, allocations: 287.9 MB / 302.9 MB, free: 8.297 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.001507/0.001507, allocations: 183.3 kB / 371.4 MB, free: 10.68 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.091/2.091, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001005/0.001005, allocations: 90.23 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007974/0.0007978, allocations: 12.09 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1863, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001454/0.1878, allocations: 1.171 MB / 0.9799 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006267/0.1884, allocations: 352 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.1885, allocations: 0 / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.1885, allocations: 3.984 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.283e-05/0.1886, allocations: 4 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.1889, allocations: 71.77 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.39e-05/0.189, allocations: 35.89 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.1891, allocations: 4 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.1891, allocations: 23.92 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.166e-05/0.1892, allocations: 35.83 kB / 0.9804 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1892, allocations: 4 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.1895, allocations: 179.7 kB / 0.9806 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.1895, allocations: 7.984 kB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.1896, allocations: 33.7 kB / 0.9806 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1897, allocations: 68.12 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.574e-06/0.1898, allocations: 0 / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.11e-06/0.1898, allocations: 3.938 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.162e-06/0.1898, allocations: 0 / 0.9807 GB, free: 26.21 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004663/0.1903, allocations: 383.2 kB / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1903, allocations: 12.02 kB / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1904, allocations: 7.906 kB / 0.9811 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.209e-05/0.1904, allocations: 171 kB / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.1905, allocations: 0 / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.1905, allocations: 8 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.1908, allocations: 81.66 kB / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1908, allocations: 0 / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1908, allocations: 4 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-06/0.1909, allocations: 3.938 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.1912, allocations: 63.89 kB / 0.9814 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.1917, allocations: 328.6 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.192, allocations: 90.47 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1921, allocations: 4 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1921, allocations: 34.56 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.1921, allocations: 0 / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001791/0.1939, allocations: 0.677 MB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.194, allocations: 55.41 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.573e-05/0.1941, allocations: 105.8 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1941, allocations: 25.7 kB / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.1941, allocations: 100 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1942, allocations: 35.45 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-06/0.1942, allocations: 0 / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.1942, allocations: 318.8 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.1944, allocations: 35.98 kB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1946, allocations: 36.03 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1948, allocations: 50.48 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1948, allocations: 0 / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004/0.1952, allocations: 121.6 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1952, allocations: 4 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.096e-06/0.1952, allocations: 4 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1953, allocations: 8.047 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.1954, allocations: 27.92 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.616e-06/0.1955, allocations: 320 / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.447e-05/0.1956, allocations: 11.98 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.1956, allocations: 4 kB / 0.9834 GB, free: 23.14 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 7.448e-05/0.1957, allocations: 117.8 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.1957, allocations: 8 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004303/0.1962, allocations: 145.4 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.109e-06/0.1962, allocations: 7.953 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1962, allocations: 0 / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1962, allocations: 0 / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.1969, allocations: 386.5 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/0.1969, allocations: 0 / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.1971, allocations: 35.91 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.331e-06/0.1972, allocations: 7.953 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1972, allocations: 4 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.47e-06/0.1972, allocations: 8 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.653e-06/0.1972, allocations: 0 / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006379/0.1979, allocations: 247.4 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.1979, allocations: 89.11 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1979, allocations: 7.953 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.1981, allocations: 11.98 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.1982, allocations: 4 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1982, allocations: 7.984 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.1982, allocations: 79.28 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.23e-07/0.1982, allocations: 3.938 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003711/0.1986, allocations: 40 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002107/0.1988, allocations: 135.1 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.1992, allocations: 87.95 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.493e-06/0.1993, allocations: 0 / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.1994, allocations: 55.91 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.1997, allocations: 11.94 kB / 0.9848 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007005/0.2004, allocations: 373.4 kB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.2006, allocations: 0.6926 MB / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.363e-05/0.2006, allocations: 20.64 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.2007, allocations: 15.44 kB / 0.9859 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.858e-06/0.2007, allocations: 0 / 0.9859 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.004466/0.2052, allocations: 1.063 MB / 0.9869 GB, free: 19.39 MB / 0.6198 GB