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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.574/2.574, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001532/0.001532, allocations: 180.6 kB / 370.8 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.131/2.131, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001145/0.001144, allocations: 83.98 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006409/0.0006412, allocations: 16.72 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2168, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001435/0.2183, allocations: 0.9766 MB / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007731/0.2191, allocations: 348.8 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.2192, allocations: 0 / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.2192, allocations: 3.938 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.2192, allocations: 0 / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.2197, allocations: 76.89 kB / 0.9796 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.2198, allocations: 11.98 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.2198, allocations: 7.984 kB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.2199, allocations: 8 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.2199, allocations: 11.92 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.22, allocations: 0 / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.2203, allocations: 187.6 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.2203, allocations: 4 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.2204, allocations: 25.7 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.2205, allocations: 52.16 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2206, allocations: 0 / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2206, allocations: 4 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2206, allocations: 4 kB / 0.9799 GB, free: 26.67 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.0003575/0.221, allocations: 339.3 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.221, allocations: 12.02 kB / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.2211, allocations: 4 kB / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.963e-05/0.2212, allocations: 167 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2212, allocations: 0 / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.2212, allocations: 11.94 kB / 0.9804 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.2213, allocations: 38.69 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2214, allocations: 3.938 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2214, allocations: 8 kB / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2214, allocations: 0 / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.2215, allocations: 4 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.2216, allocations: 161.6 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.2219, allocations: 50.53 kB / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.2219, allocations: 0 / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.222, allocations: 38.64 kB / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.222, allocations: 0 / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0007537/0.2227, allocations: 314.2 kB / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.2228, allocations: 51.41 kB / 0.981 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.021e-05/0.2229, allocations: 93.86 kB / 0.9811 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.2229, allocations: 29.7 kB / 0.9811 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.2229, allocations: 88.12 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.223, allocations: 23.66 kB / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-06/0.223, allocations: 0 / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.223, allocations: 314.8 kB / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/0.2231, allocations: 15.98 kB / 0.9815 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.2231, allocations: 8 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.231e-05/0.2232, allocations: 12 kB / 0.9816 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2232, allocations: 0 / 0.9816 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001351/0.2233, allocations: 69.53 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2234, allocations: 4 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.373e-06/0.2234, allocations: 4 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2234, allocations: 0 / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.2235, allocations: 19.98 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2235, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.2236, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.2236, allocations: 4 kB / 0.9817 GB, free: 24.56 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 7.147e-05/0.2237, allocations: 115.7 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.2237, allocations: 4 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.2239, allocations: 81.64 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2239, allocations: 0 / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2239, allocations: 0 / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2239, allocations: 0 / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.2243, allocations: 315.4 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2243, allocations: 0 / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.2244, allocations: 12 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2245, allocations: 0 / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2245, allocations: 3.984 kB / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2245, allocations: 11.97 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2245, allocations: 0 / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.2247, allocations: 193.9 kB / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.2248, allocations: 85.12 kB / 0.9824 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.2248, allocations: 0 / 0.9824 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2249, allocations: 0 / 0.9824 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.225, allocations: 8.062 kB / 0.9825 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.225, allocations: 11.98 kB / 0.9825 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.995e-05/0.225, allocations: 75.8 kB / 0.9825 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.403e-06/0.225, allocations: 0 / 0.9825 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003409/0.2254, allocations: 27.83 kB / 0.9826 GB, free: 23.52 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.0002092/0.2256, allocations: 119.2 kB / 0.9827 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.2258, allocations: 31.92 kB / 0.9827 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2258, allocations: 4 kB / 0.9827 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.083e-05/0.2258, allocations: 16 kB / 0.9827 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.226, allocations: 10.62 kB / 0.9827 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.2266, allocations: 226.1 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.2267, allocations: 0.6809 MB / 0.9836 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.2268, allocations: 8.375 kB / 0.9836 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.2268, allocations: 11.44 kB / 0.9836 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of SimCode: time 8.61e-07/0.2268, allocations: 0 / 0.9836 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.003493/0.2303, allocations: 0.5941 MB / 0.9842 GB, free: 21.8 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)