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_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 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.421/4.421, allocations: 0.5623 GB / 0.5769 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002616/0.002616, allocations: 357.4 kB / 0.644 GB, free: 21.57 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.104/4.104, allocations: 410.8 MB / 1.112 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00178/0.001779, allocations: 184.5 kB / 1.225 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004897, allocations: 12.22 kB / 1.348 GB, free: 320.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1851, allocations: 115.3 MB / 1.461 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001099/0.1863, allocations: 1.004 MB / 1.462 GB, free: 219.8 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0005661/0.1869, allocations: 324.1 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.1869, allocations: 0 / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.1869, allocations: 6.109 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.56e-05/0.187, allocations: 7.922 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.1873, allocations: 55.75 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.974e-05/0.1873, allocations: 19.92 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.047e-05/0.1874, allocations: 4.562 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.885e-05/0.1874, allocations: 7.984 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.1875, allocations: 16.45 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1875, allocations: 1.188 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.1878, allocations: 159.7 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.152e-06/0.1878, allocations: 7.984 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.1878, allocations: 26.2 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1879, allocations: 60.09 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.74e-06/0.188, allocations: 1.156 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.637e-06/0.188, allocations: 0 / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.734e-06/0.188, allocations: 0 / 1.462 GB, free: 219.1 MB / 0.8073 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.000277/0.1883, allocations: 344.5 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.1883, allocations: 8.75 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.1883, allocations: 1.156 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.037e-05/0.1884, allocations: 171 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.969e-06/0.1885, allocations: 0.5625 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1885, allocations: 0 / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.117e-05/0.1886, allocations: 47.02 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.044e-06/0.1886, allocations: 3.938 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1886, allocations: 0 / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-06/0.1886, allocations: 4.719 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.36e-05/0.1887, allocations: 15.98 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.1888, allocations: 158.6 kB / 1.463 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.189, allocations: 48.31 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.1891, allocations: 16.86 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1891, allocations: 0.75 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.1891, allocations: 35.91 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 2.029e-06/0.1892, allocations: 0 / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0005807/0.1897, allocations: 311.1 kB / 1.463 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.1898, allocations: 51.41 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.822e-05/0.1898, allocations: 99.89 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1899, allocations: 25.7 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.1899, allocations: 80.14 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.1899, allocations: 27.64 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-06/0.1899, allocations: 0.5 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.19, allocations: 323.7 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.19, allocations: 7.984 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.1901, allocations: 13.09 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.1901, allocations: 16.14 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-06/0.1901, allocations: 0 / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001146/0.1903, allocations: 70.5 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1903, allocations: 8 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.461e-06/0.1903, allocations: 1.438 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1903, allocations: 0 / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.1904, allocations: 8 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.575e-06/0.1904, allocations: 7.922 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.1905, allocations: 4.594 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-06/0.1905, allocations: 0.7812 kB / 1.464 GB, free: 217 MB / 0.8073 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.539e-05/0.1905, allocations: 118.6 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.1906, allocations: 0 / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.1907, allocations: 66.72 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-06/0.1907, allocations: 8.438 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.174e-06/0.1907, allocations: 6.594 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.63e-06/0.1908, allocations: 0 / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.191, allocations: 319.4 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-06/0.1911, allocations: 0 / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.1911, allocations: 8 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.044e-06/0.1912, allocations: 7.984 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.939e-06/0.1912, allocations: 0.7812 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.172e-06/0.1912, allocations: 7.922 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.075e-06/0.1912, allocations: 1.781 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.1914, allocations: 185.8 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.1914, allocations: 81.09 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1915, allocations: 0 / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.66e-05/0.1916, allocations: 8.781 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.1916, allocations: 0.5625 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-06/0.1916, allocations: 4 kB / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.387e-05/0.1916, allocations: 84.17 kB / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.61e-07/0.1917, allocations: 0 / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003176/0.192, allocations: 21.25 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001549/0.1921, allocations: 127.6 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.1923, allocations: 31.98 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.704e-06/0.1923, allocations: 3.75 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.1923, allocations: 19.94 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.1926, allocations: 8.547 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.193, allocations: 220.5 kB / 1.465 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.1931, allocations: 0.6815 MB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.263e-05/0.1932, allocations: 8.938 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.1932, allocations: 7.438 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of SimCode: time 1.378e-06/0.1932, allocations: 5.156 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.00302/0.1963, allocations: 0.6258 MB / 1.467 GB, free: 214.3 MB / 0.8073 GB