Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 172.4 kB / 327 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007569/0.0007569, allocations: 94.3 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.000319, allocations: 13.28 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1954, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001159/0.1966, allocations: 1.016 MB / 0.9019 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007937/0.1974, allocations: 0.6074 MB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.624e-05/0.1974, allocations: 7.938 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.1975, allocations: 0 / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.027e-05/0.1975, allocations: 0 / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.198, allocations: 119.6 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.999e-05/0.198, allocations: 19.92 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.1981, allocations: 4 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.065e-05/0.1981, allocations: 7.938 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.1982, allocations: 7.922 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1982, allocations: 8 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.1986, allocations: 343.3 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.1986, allocations: 7.938 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.1986, allocations: 29.7 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1989, allocations: 151.9 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1989, allocations: 0 / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1989, allocations: 4 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1989, allocations: 0 / 0.9032 GB, free: 61.06 MB / 0.6042 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.000278/0.1992, allocations: 358 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1992, allocations: 12.03 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.522e-05/0.1992, allocations: 34.73 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.079e-05/0.1993, allocations: 4.938 kB / 0.9036 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.632e-05/0.1993, allocations: 168.2 kB / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1994, allocations: 384 / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.1994, allocations: 8.375 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.82e-05/0.1995, allocations: 38.25 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.1995, allocations: 3.938 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1995, allocations: 0 / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1995, allocations: 0 / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.394e-05/0.1996, allocations: 11.98 kB / 0.9038 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.1997, allocations: 161.7 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1998, allocations: 46.5 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.1999, allocations: 20.84 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1999, allocations: 0 / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.1999, allocations: 30.56 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1999, allocations: 4 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005224/0.2004, allocations: 314.3 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.2005, allocations: 51.41 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.796e-05/0.2005, allocations: 93.86 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.2005, allocations: 29.7 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.358e-05/0.2006, allocations: 80.14 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.2006, allocations: 23.64 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.2006, allocations: 7.938 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.52e-05/0.2006, allocations: 314.8 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.2007, allocations: 12 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.2007, allocations: 15.98 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.2007, allocations: 28.86 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2007, allocations: 0 / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.896e-05/0.2008, allocations: 73.75 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2008, allocations: 10.5 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2009, allocations: 0 / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2009, allocations: 3.938 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.2009, allocations: 15.94 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2009, allocations: 3.984 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.201, allocations: 12 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.201, allocations: 0 / 0.9051 GB, free: 58.84 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.201, allocations: 113.8 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.201, allocations: 7.844 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.2012, allocations: 65.66 kB / 0.9053 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2012, allocations: 4 kB / 0.9053 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2012, allocations: 7.984 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2012, allocations: 0 / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.2014, allocations: 311.4 kB / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2014, allocations: 0 / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.2015, allocations: 19.94 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2015, allocations: 0 / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.2015, allocations: 0 / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2015, allocations: 3.984 kB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2015, allocations: 4 kB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.2017, allocations: 176.4 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.2017, allocations: 85 kB / 0.9058 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.2017, allocations: 4.031 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.475e-05/0.2018, allocations: 0 / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.2018, allocations: 4 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2018, allocations: 4 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.924e-05/0.2018, allocations: 87.84 kB / 0.9059 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2018, allocations: 3.938 kB / 0.9059 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002145/0.2021, allocations: 20 kB / 0.906 GB, free: 57.82 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002972/0.2024, allocations: 0.7368 MB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.71e-05/0.2024, allocations: 40 kB / 0.9067 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2025, allocations: 0 / 0.9067 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.146e-05/0.2025, allocations: 15.98 kB / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.2027, allocations: 7.297 kB / 0.9067 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/0.2035, allocations: 1.355 MB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.402e-05/0.2036, allocations: 0.6809 MB / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.2036, allocations: 4 kB / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.2037, allocations: 7.438 kB / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2037, allocations: 0 / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06028/0.264, allocations: 1.408 MB / 0.9101 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.2642, allocations: 251.1 kB / 0.9104 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.008, allocations: 0 / 0.9104 GB, free: 53.38 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)