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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") 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.176 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.001331/0.001331, allocations: 180.5 kB / 372 MB, free: 10.25 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.36/1.36, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0007356/0.0007356, allocations: 90.36 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004054, allocations: 11.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1809, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001252/0.1822, allocations: 0.9979 MB / 0.9806 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000824/0.1831, allocations: 0.5619 MB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.1831, allocations: 4 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.1832, allocations: 0 / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.1832, allocations: 3.938 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.1838, allocations: 127.5 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.1838, allocations: 27.91 kB / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.1839, allocations: 0 / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.364e-05/0.1839, allocations: 15.94 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/0.184, allocations: 7.984 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.184, allocations: 4 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.1844, allocations: 343.3 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.1844, allocations: 3.938 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.1845, allocations: 29.7 kB / 0.9817 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1846, allocations: 104.1 kB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1847, allocations: 0 / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1847, allocations: 0 / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1847, allocations: 0 / 0.9818 GB, free: 25.41 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.0003519/0.185, allocations: 363.2 kB / 0.9821 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1851, allocations: 16.02 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.1851, allocations: 4 kB / 0.9821 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.884e-05/0.1852, allocations: 167 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1852, allocations: 4 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.1853, allocations: 11.92 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1854, allocations: 53.61 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1854, allocations: 0 / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1854, allocations: 0 / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1854, allocations: 4 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.1855, allocations: 15.98 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.1857, allocations: 177.5 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.365e-05/0.1858, allocations: 58.56 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.1858, allocations: 28.84 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1858, allocations: 0 / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1859, allocations: 38.5 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1859, allocations: 0 / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001008/0.1869, allocations: 0.5762 MB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.1869, allocations: 59.34 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.351e-05/0.187, allocations: 97.84 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.187, allocations: 33.83 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.187, allocations: 84.14 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.187, allocations: 39.39 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.1871, allocations: 0 / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.1871, allocations: 322.8 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.549e-05/0.1872, allocations: 15.98 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.1872, allocations: 28.73 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.427e-05/0.1872, allocations: 22.62 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1873, allocations: 0 / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001234/0.1874, allocations: 105.5 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1874, allocations: 8 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1874, allocations: 0 / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1874, allocations: 0 / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1875, allocations: 23.98 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1876, allocations: 0 / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.1876, allocations: 8.094 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1876, allocations: 3.938 kB / 0.984 GB, free: 22.78 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 5.884e-05/0.1877, allocations: 121.7 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.1877, allocations: 11.98 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.1879, allocations: 105.6 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1879, allocations: 0 / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1879, allocations: 4 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1879, allocations: 0 / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.1882, allocations: 354.5 kB / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1882, allocations: 0 / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.1883, allocations: 23.98 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1883, allocations: 0 / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1884, allocations: 4 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1884, allocations: 0 / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1884, allocations: 0 / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1886, allocations: 223.3 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.1886, allocations: 85 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1886, allocations: 0 / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1887, allocations: 8.031 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.1887, allocations: 4.062 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.1888, allocations: 11.98 kB / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.852e-05/0.1888, allocations: 79.28 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1888, allocations: 0 / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002455/0.189, allocations: 28 kB / 0.985 GB, free: 21.64 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.0001751/0.1892, allocations: 139.2 kB / 0.9852 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.1894, allocations: 59.86 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1894, allocations: 0 / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.1894, allocations: 40.08 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.1896, allocations: 11.89 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.1901, allocations: 324.5 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.1902, allocations: 0.6926 MB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.187e-05/0.1903, allocations: 15.86 kB / 0.9863 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.1903, allocations: 15.44 kB / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1903, allocations: 0 / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.002838/0.1932, allocations: 0.8998 MB / 0.9872 GB, free: 19.42 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)