Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.589/2.589, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001389/0.001389, allocations: 182.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009241/0.0009238, allocations: 92.28 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006398/0.0006401, allocations: 12.5 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2024, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001379/0.2039, allocations: 1 MB / 0.9793 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.205, allocations: 0.5697 MB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.2051, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.2051, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.2051, allocations: 3.938 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.2058, allocations: 127.6 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.869e-05/0.2058, allocations: 27.86 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.2059, allocations: 4 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/0.2059, allocations: 15.92 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.206, allocations: 11.98 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.206, allocations: 4 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006689/0.2067, allocations: 335.3 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.2067, allocations: 11.98 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.2068, allocations: 29.64 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.207, allocations: 96.11 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.207, allocations: 7.984 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.933e-06/0.207, allocations: 0 / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.207, allocations: 4 kB / 0.9805 GB, free: 26.12 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.0003782/0.2074, allocations: 355.3 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2075, allocations: 12.02 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.2075, allocations: 3.906 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.569e-05/0.2076, allocations: 175 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.2076, allocations: 4 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.2077, allocations: 4 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.2078, allocations: 53.62 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2078, allocations: 0 / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2079, allocations: 4 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2079, allocations: 0 / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.34e-05/0.208, allocations: 19.98 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.2081, allocations: 165.6 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.2083, allocations: 66.47 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.2083, allocations: 28.86 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.2084, allocations: 7.938 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.2084, allocations: 38.72 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.2084, allocations: 0 / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001294/0.2097, allocations: 0.5798 MB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.2098, allocations: 55.39 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.636e-05/0.2098, allocations: 97.8 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.2099, allocations: 29.7 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.958e-05/0.2099, allocations: 80.14 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.2099, allocations: 43.38 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.21, allocations: 8 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.21, allocations: 318.9 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.2101, allocations: 23.98 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.2101, allocations: 19.98 kB / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.2102, allocations: 24.75 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2102, allocations: 4 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000212/0.2105, allocations: 98.66 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2105, allocations: 4 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2105, allocations: 0 / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2105, allocations: 0 / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.2107, allocations: 23.98 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2107, allocations: 4 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.2108, allocations: 4 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2108, allocations: 4 kB / 0.9828 GB, free: 23.5 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.281e-05/0.2109, allocations: 121.7 kB / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.2109, allocations: 0 / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.2112, allocations: 113.7 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2112, allocations: 3.938 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2112, allocations: 4 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2112, allocations: 4 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.2116, allocations: 350.5 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2117, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.2119, allocations: 19.98 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2119, allocations: 0 / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.2119, allocations: 4 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2119, allocations: 0 / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2119, allocations: 0 / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.2122, allocations: 227.2 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.2122, allocations: 85.05 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.2123, allocations: 4 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.2124, allocations: 0 / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.2125, allocations: 7.984 kB / 0.9837 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.2125, allocations: 8 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.521e-05/0.2125, allocations: 75.28 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2125, allocations: 0 / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003415/0.2129, allocations: 36.16 kB / 0.9838 GB, free: 22.36 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.0002287/0.2131, allocations: 143.1 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.2133, allocations: 63.86 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2133, allocations: 0 / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.815e-05/0.2134, allocations: 31.98 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.2137, allocations: 4 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/0.2144, allocations: 337.3 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.2145, allocations: 0.6848 MB / 0.985 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.108e-05/0.2146, allocations: 4 kB / 0.985 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.2147, allocations: 23.38 kB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.2147, allocations: 0 / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.003902/0.2186, allocations: 0.9016 MB / 0.9859 GB, free: 20.14 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)