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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002457/0.002457, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.659/1.659, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9355/0.9355, allocations: 145 MB / 457.4 MB, free: 15.27 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 63.41 kB / 0.6331 GB, free: 6.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.207, allocations: 87.87 MB / 0.7189 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003248/0.2102, allocations: 1.293 MB / 0.7202 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.2115, allocations: 0.5488 MB / 0.7207 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.2116, allocations: 0 / 0.7207 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.2116, allocations: 0 / 0.7207 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.2116, allocations: 3.938 kB / 0.7207 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007928/0.2124, allocations: 143.4 kB / 0.7209 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.207e-05/0.2125, allocations: 27.92 kB / 0.7209 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/0.2126, allocations: 0 / 0.7209 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.513e-05/0.2126, allocations: 11.94 kB / 0.7209 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.2127, allocations: 11.97 kB / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.2127, allocations: 0 / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005279/0.2132, allocations: 263.5 kB / 0.7212 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.2133, allocations: 3.938 kB / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.2133, allocations: 15.97 kB / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.2136, allocations: 135.5 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.036e-06/0.2136, allocations: 4 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2136, allocations: 0 / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.347e-05/0.2137, allocations: 7.938 kB / 0.7213 GB, free: 12.33 MB / 0.545 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.0005725/0.2142, allocations: 278 kB / 0.7216 GB, free: 12.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.2143, allocations: 8.031 kB / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.2143, allocations: 34.69 kB / 0.7216 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.2144, allocations: 8.891 kB / 0.7216 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.2145, allocations: 110.5 kB / 0.7217 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.2145, allocations: 8.375 kB / 0.7217 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.2146, allocations: 4.312 kB / 0.7217 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.2147, allocations: 67.95 kB / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2147, allocations: 3.938 kB / 0.7218 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2148, allocations: 4 kB / 0.7218 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2148, allocations: 0 / 0.7218 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.2148, allocations: 8 kB / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.215, allocations: 128.8 kB / 0.7219 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.2152, allocations: 42.55 kB / 0.722 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.2153, allocations: 16.86 kB / 0.722 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2153, allocations: 96 / 0.722 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.2153, allocations: 38.55 kB / 0.722 GB, free: 11.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2153, allocations: 0 / 0.722 GB, free: 11.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0007416/0.2161, allocations: 237.1 kB / 0.7223 GB, free: 11.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2161, allocations: 59.41 kB / 0.7223 GB, free: 11.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2162, allocations: 101.8 kB / 0.7224 GB, free: 11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.2162, allocations: 29.64 kB / 0.7224 GB, free: 10.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.2163, allocations: 80.14 kB / 0.7225 GB, free: 10.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.2163, allocations: 27.73 kB / 0.7226 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.2164, allocations: 17.72 kB / 0.7226 GB, free: 10.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2166, allocations: 314.8 kB / 0.7229 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.2166, allocations: 12 kB / 0.7229 GB, free: 10.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.2166, allocations: 15.98 kB / 0.7229 GB, free: 10.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.097e-05/0.2167, allocations: 28.86 kB / 0.7229 GB, free: 10.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2167, allocations: 4 kB / 0.7229 GB, free: 10.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001153/0.2168, allocations: 69.69 kB / 0.723 GB, free: 10.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2168, allocations: 9.875 kB / 0.723 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2168, allocations: 0 / 0.723 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2168, allocations: 0 / 0.723 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.2169, allocations: 11.94 kB / 0.723 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2169, allocations: 4 kB / 0.723 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.2169, allocations: 0 / 0.723 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.2169, allocations: 240 / 0.723 GB, free: 10.36 MB / 0.545 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 0.0001077/0.217, allocations: 120.9 kB / 0.7231 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.2171, allocations: 7.938 kB / 0.7231 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.2172, allocations: 69.7 kB / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2172, allocations: 7.938 kB / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2172, allocations: 3.938 kB / 0.7232 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2172, allocations: 0 / 0.7232 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.2177, allocations: 282.5 kB / 0.7235 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2177, allocations: 0 / 0.7235 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.2177, allocations: 19.94 kB / 0.7235 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.2177, allocations: 3.984 kB / 0.7235 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2177, allocations: 0 / 0.7235 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.2177, allocations: 4 kB / 0.7235 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2177, allocations: 4.031 kB / 0.7235 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.218, allocations: 180.4 kB / 0.7237 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.218, allocations: 7.938 kB / 0.7237 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.2181, allocations: 4 kB / 0.7237 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.2181, allocations: 192 / 0.7237 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.2182, allocations: 15.92 kB / 0.7237 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2182, allocations: 7.938 kB / 0.7237 GB, free: 9.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.745e-05/0.2182, allocations: 79.28 kB / 0.7238 GB, free: 9.465 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2182, allocations: 0 / 0.7238 GB, free: 9.465 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002639/0.2185, allocations: 19.94 kB / 0.7238 GB, free: 9.445 MB / 0.545 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.0007013/0.2192, allocations: 0.7367 MB / 0.7245 GB, free: 8.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.2193, allocations: 35.92 kB / 0.7246 GB, free: 8.645 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2193, allocations: 0 / 0.7246 GB, free: 8.645 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/0.2194, allocations: 12 kB / 0.7246 GB, free: 8.633 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.2196, allocations: 6.844 kB / 0.7246 GB, free: 8.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2211, allocations: 1.332 MB / 0.7259 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.463e-05/0.2212, allocations: 71.34 kB / 0.726 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.198e-05/0.2213, allocations: 0 / 0.726 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.2213, allocations: 15.42 kB / 0.726 GB, free: 7.109 MB / 0.545 GB Notification: Performance of SimCode: time 7.02e-07/0.2213, allocations: 4.156 kB / 0.726 GB, free: 7.105 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03855/0.2599, allocations: 2.103 MB / 0.728 GB, free: 5.168 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.69, allocations: 8.531 kB / 0.728 GB, free: 5.164 MB / 0.545 GB " [Timeout remaining time 648] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.794450771994889] Failed to read output from testmodel.py, exit status != 0: 11.800234871916473 11.827570483 11.608773897 Calling exit ...