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.744/1.744, allocations: 288.4 MB / 303.7 MB, free: 8.848 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.001591/0.001592, allocations: 180.5 kB / 372.3 MB, free: 6.445 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.419/1.419, allocations: 205.4 MB / 0.631 GB, free: 13.55 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007658/0.0007658, allocations: 98.88 kB / 0.7444 GB, free: 64.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 12 kB / 0.8675 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2257, allocations: 115.3 MB / 0.9801 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001313/0.2271, allocations: 0.9898 MB / 0.9811 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008965/0.228, allocations: 0.565 MB / 0.9816 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.2281, allocations: 4 kB / 0.9816 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.2281, allocations: 3.984 kB / 0.9816 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.936e-05/0.2281, allocations: 3.938 kB / 0.9816 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.2286, allocations: 115.6 kB / 0.9818 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.2287, allocations: 15.92 kB / 0.9818 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.2288, allocations: 7.984 kB / 0.9818 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.2288, allocations: 11.94 kB / 0.9818 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.2288, allocations: 3.984 kB / 0.9818 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.2289, allocations: 8 kB / 0.9818 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.2293, allocations: 339.3 kB / 0.9821 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.2294, allocations: 3.938 kB / 0.9821 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.2294, allocations: 33.64 kB / 0.9822 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.2296, allocations: 104.1 kB / 0.9823 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2296, allocations: 0 / 0.9823 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2296, allocations: 0 / 0.9823 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2296, allocations: 0 / 0.9823 GB, free: 10.92 MB / 0.7136 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.0003663/0.23, allocations: 355.3 kB / 0.9826 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.23, allocations: 12.03 kB / 0.9826 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.2301, allocations: 8.938 kB / 0.9826 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.2302, allocations: 168.4 kB / 0.9828 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2302, allocations: 4.375 kB / 0.9828 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.2302, allocations: 384 / 0.9828 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.88e-05/0.2303, allocations: 46.19 kB / 0.9828 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2303, allocations: 192 / 0.9828 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2304, allocations: 3.938 kB / 0.9828 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.2304, allocations: 0 / 0.9828 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.2304, allocations: 8 kB / 0.9828 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.2306, allocations: 161.7 kB / 0.983 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.2307, allocations: 38.61 kB / 0.983 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.2308, allocations: 20.94 kB / 0.9831 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.2308, allocations: 0 / 0.9831 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.2308, allocations: 38.5 kB / 0.9831 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2308, allocations: 0 / 0.9831 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005954/0.2314, allocations: 322.1 kB / 0.9834 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.2315, allocations: 51.41 kB / 0.9834 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.2316, allocations: 101.8 kB / 0.9835 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.2316, allocations: 25.7 kB / 0.9836 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.2316, allocations: 80.14 kB / 0.9836 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.2316, allocations: 19.72 kB / 0.9837 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.2316, allocations: 0 / 0.9837 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.2318, allocations: 322.8 kB / 0.984 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.2318, allocations: 11.98 kB / 0.984 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.2318, allocations: 8 kB / 0.984 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.831e-05/0.2319, allocations: 40.78 kB / 0.984 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2319, allocations: 0 / 0.984 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001003/0.232, allocations: 61.69 kB / 0.9841 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.232, allocations: 7.938 kB / 0.9841 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.232, allocations: 3.938 kB / 0.9841 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.232, allocations: 0 / 0.9841 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.2321, allocations: 12 kB / 0.9841 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2321, allocations: 7.938 kB / 0.9841 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.2321, allocations: 4.516 kB / 0.9841 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2321, allocations: 4 kB / 0.9841 GB, free: 8.746 MB / 0.7136 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.725e-05/0.2322, allocations: 113.8 kB / 0.9842 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.2322, allocations: 15.86 kB / 0.9843 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.2324, allocations: 69.66 kB / 0.9843 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2324, allocations: 0 / 0.9843 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2324, allocations: 3.984 kB / 0.9843 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2324, allocations: 4 kB / 0.9843 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.2327, allocations: 315.3 kB / 0.9846 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2327, allocations: 0 / 0.9846 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.2328, allocations: 12 kB / 0.9846 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2328, allocations: 0 / 0.9846 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2328, allocations: 0 / 0.9846 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2328, allocations: 4 kB / 0.9846 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2328, allocations: 0 / 0.9846 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.233, allocations: 188.2 kB / 0.9848 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.2331, allocations: 81.14 kB / 0.9849 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.2331, allocations: 4 kB / 0.9849 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.2332, allocations: 4.234 kB / 0.9849 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.2332, allocations: 4 kB / 0.9849 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2332, allocations: 4 kB / 0.9849 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.885e-05/0.2332, allocations: 79.28 kB / 0.985 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2332, allocations: 4.062 kB / 0.985 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000243/0.2335, allocations: 31.92 kB / 0.985 GB, free: 7.715 MB / 0.7136 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.0001652/0.2337, allocations: 119.2 kB / 0.9851 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.481e-05/0.2338, allocations: 36.16 kB / 0.9852 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2338, allocations: 0 / 0.9852 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.2338, allocations: 16 kB / 0.9852 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.234, allocations: 7.938 kB / 0.9852 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.2344, allocations: 221.4 kB / 0.9854 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.2346, allocations: 0.6848 MB / 0.9861 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.604e-05/0.2347, allocations: 12.12 kB / 0.9861 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.2347, allocations: 15.44 kB / 0.9861 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.2347, allocations: 0 / 0.9861 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of Templates: time 0.002496/0.2372, allocations: 0.6013 MB / 0.9867 GB, free: 5.953 MB / 0.7136 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)