Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001535, allocations: 197.1 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.069/1.069, allocations: 143 MB / 433.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 59.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2112, allocations: 82.04 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002876/0.2141, allocations: 1.266 MB / 0.5956 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2152, allocations: 0.6149 MB / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.2153, allocations: 0 / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.2153, allocations: 4 kB / 0.5962 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.2154, allocations: 7.938 kB / 0.5962 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.2161, allocations: 141.1 kB / 0.5964 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.098e-05/0.2161, allocations: 23.91 kB / 0.5964 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.2162, allocations: 8 kB / 0.5964 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.2162, allocations: 4 kB / 0.5964 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.2163, allocations: 15.92 kB / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.2163, allocations: 0 / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005129/0.2168, allocations: 347.3 kB / 0.5968 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.2168, allocations: 4 kB / 0.5968 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.2169, allocations: 7.938 kB / 0.5968 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.2171, allocations: 151.9 kB / 0.5969 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2171, allocations: 0 / 0.5969 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2172, allocations: 0 / 0.5969 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2172, allocations: 0 / 0.5969 GB, free: 6.879 MB / 0.4981 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.000435/0.2176, allocations: 366.8 kB / 0.5973 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2176, allocations: 8.031 kB / 0.5973 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.2177, allocations: 34.75 kB / 0.5973 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.2177, allocations: 8.922 kB / 0.5973 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2179, allocations: 160.4 kB / 0.5975 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2179, allocations: 8.375 kB / 0.5975 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.2179, allocations: 384 / 0.5975 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.218, allocations: 42.25 kB / 0.5975 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.218, allocations: 3.938 kB / 0.5975 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.2181, allocations: 0 / 0.5975 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2181, allocations: 0 / 0.5975 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.252e-05/0.2181, allocations: 15.94 kB / 0.5975 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.2183, allocations: 157.7 kB / 0.5977 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.2185, allocations: 42.61 kB / 0.5977 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.2185, allocations: 24.88 kB / 0.5978 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.2186, allocations: 0 / 0.5978 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.2186, allocations: 34.56 kB / 0.5978 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2186, allocations: 0 / 0.5978 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006861/0.2193, allocations: 326.3 kB / 0.5981 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.2193, allocations: 55.39 kB / 0.5982 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.035e-05/0.2194, allocations: 93.86 kB / 0.5982 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.2194, allocations: 25.7 kB / 0.5983 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.2195, allocations: 88.14 kB / 0.5984 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.2195, allocations: 11.8 kB / 0.5984 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.2196, allocations: 17.72 kB / 0.5984 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2197, allocations: 322.8 kB / 0.5987 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.837e-05/0.2197, allocations: 11.98 kB / 0.5987 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.2198, allocations: 8 kB / 0.5987 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.489e-05/0.2198, allocations: 36.84 kB / 0.5987 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2198, allocations: 0 / 0.5987 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001015/0.2199, allocations: 77.61 kB / 0.5988 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.22, allocations: 6.656 kB / 0.5988 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.22, allocations: 0 / 0.5988 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.22, allocations: 0 / 0.5988 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.2201, allocations: 15.98 kB / 0.5988 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2201, allocations: 4 kB / 0.5988 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.2201, allocations: 4 kB / 0.5988 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.2201, allocations: 0 / 0.5988 GB, free: 4.633 MB / 0.4981 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 6.785e-05/0.2202, allocations: 109.8 kB / 0.5989 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.2202, allocations: 3.938 kB / 0.599 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.2203, allocations: 81.58 kB / 0.599 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2204, allocations: 0 / 0.599 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2204, allocations: 0 / 0.599 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2204, allocations: 7.938 kB / 0.599 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.2207, allocations: 311.5 kB / 0.5993 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2207, allocations: 4.062 kB / 0.5993 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.057e-05/0.2208, allocations: 15.98 kB / 0.5994 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2208, allocations: 0 / 0.5994 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.2208, allocations: 0 / 0.5994 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2208, allocations: 4 kB / 0.5994 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2208, allocations: 3.938 kB / 0.5994 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.221, allocations: 184.2 kB / 0.5995 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.2211, allocations: 89.12 kB / 0.5996 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2211, allocations: 0 / 0.5996 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.2212, allocations: 4 kB / 0.5996 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.2212, allocations: 3.984 kB / 0.5996 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2212, allocations: 4 kB / 0.5996 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.2212, allocations: 79.28 kB / 0.5997 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2213, allocations: 4.062 kB / 0.5997 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002433/0.2215, allocations: 23.94 kB / 0.5997 GB, free: 3.602 MB / 0.4981 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.0005418/0.222, allocations: 0.7366 MB / 0.6005 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.2222, allocations: 31.98 kB / 0.6005 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2222, allocations: 8.062 kB / 0.6005 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.2222, allocations: 15.94 kB / 0.6005 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.2224, allocations: 11.98 kB / 0.6005 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.2236, allocations: 1.319 MB / 0.6018 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.2238, allocations: 0.6768 MB / 0.6025 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.036e-05/0.2239, allocations: 8.031 kB / 0.6025 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.2239, allocations: 15.44 kB / 0.6025 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2239, allocations: 0 / 0.6025 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2922/0.5161, allocations: 1.58 MB / 0.604 GB, free: 43.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/7.791, allocations: 10.31 kB / 0.604 GB, free: 43.53 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)