Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.674/1.674, allocations: 288.4 MB / 303.4 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009484/0.0009484, allocations: 172.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007864/0.0007866, allocations: 90.28 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003801, allocations: 14.97 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1953, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001133/0.1965, allocations: 0.9901 MB / 0.9806 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007644/0.1973, allocations: 0.5581 MB / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.1973, allocations: 0 / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.1973, allocations: 0 / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.475e-05/0.1974, allocations: 0 / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.1979, allocations: 127.5 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.115e-05/0.1979, allocations: 23.88 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.198, allocations: 7.984 kB / 0.9813 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.198, allocations: 4 kB / 0.9813 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.1981, allocations: 7.938 kB / 0.9813 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1981, allocations: 0 / 0.9813 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.1985, allocations: 339.3 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.784e-06/0.1985, allocations: 0 / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.1985, allocations: 29.7 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.1987, allocations: 96.09 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1987, allocations: 0 / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1987, allocations: 4 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.1987, allocations: 4 kB / 0.9817 GB, free: 25.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002882/0.199, allocations: 351.2 kB / 0.9821 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.199, allocations: 12.02 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.1991, allocations: 11.98 kB / 0.9821 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.872e-05/0.1991, allocations: 167 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1992, allocations: 0 / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1992, allocations: 4 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.547e-05/0.1993, allocations: 41.62 kB / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1993, allocations: 4 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1993, allocations: 0 / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1993, allocations: 7.938 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.183e-05/0.1993, allocations: 4 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.1995, allocations: 161.6 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1996, allocations: 46.55 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.1997, allocations: 24.88 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1997, allocations: 4 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.1997, allocations: 34.56 kB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.1998, allocations: 0 / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006133/0.2004, allocations: 298.2 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.2004, allocations: 59.39 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.002e-05/0.2005, allocations: 93.86 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.2005, allocations: 29.7 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.822e-05/0.2005, allocations: 84.14 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.2005, allocations: 23.69 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.2006, allocations: 4 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.261e-05/0.2006, allocations: 314.8 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.2006, allocations: 4 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.2007, allocations: 15.98 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.2007, allocations: 15.95 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.2007, allocations: 0 / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.267e-05/0.2008, allocations: 73.69 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2008, allocations: 9.875 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2008, allocations: 80 / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2009, allocations: 0 / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.2009, allocations: 16.06 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2009, allocations: 3.984 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.201, allocations: 0 / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.201, allocations: 0.5156 kB / 0.9836 GB, free: 23.34 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 (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.23e-05/0.201, allocations: 121.8 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.2011, allocations: 0 / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.2012, allocations: 73.59 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2012, allocations: 4 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2013, allocations: 0 / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2013, allocations: 3.984 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.2015, allocations: 323.3 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2016, allocations: 0 / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.2016, allocations: 12 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2016, allocations: 0 / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.2017, allocations: 4.031 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2017, allocations: 3.938 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2017, allocations: 7.938 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.2018, allocations: 184.2 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.2019, allocations: 77.11 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.2019, allocations: 8.016 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.202, allocations: 0 / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.202, allocations: 12.06 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.202, allocations: 192 / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.561e-05/0.2021, allocations: 79.28 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2021, allocations: 0 / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002636/0.2023, allocations: 27.92 kB / 0.9844 GB, free: 22.3 MB / 0.6198 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.0001879/0.2025, allocations: 119.2 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.2027, allocations: 39.92 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2027, allocations: 0 / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.2027, allocations: 16 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.2029, allocations: 7.953 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.2034, allocations: 221.8 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.2035, allocations: 0.6809 MB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.2036, allocations: 7.906 kB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.2036, allocations: 7.438 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2036, allocations: 4 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.002544/0.2062, allocations: 0.5921 MB / 0.9861 GB, free: 20.58 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)