Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001295/0.001295, allocations: 99.5 kB / 16.45 MB, free: 6.449 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.001412/0.001412, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.491/1.491, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.9582/0.9582, allocations: 145 MB / 453.8 MB, free: 0.6836 MB / 350.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_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.002062/0.002062, allocations: 67.83 kB / 0.628 GB, free: 10.61 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.223, allocations: 87.82 MB / 0.7138 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002725/0.2258, allocations: 1.304 MB / 0.7151 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2269, allocations: 0.6192 MB / 0.7157 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.2269, allocations: 0 / 0.7157 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.2269, allocations: 3.938 kB / 0.7157 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.227, allocations: 3.984 kB / 0.7157 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.2275, allocations: 153.8 kB / 0.7158 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.2276, allocations: 31.91 kB / 0.7159 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.2277, allocations: 3.938 kB / 0.7159 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.2277, allocations: 15.94 kB / 0.7159 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.2278, allocations: 11.92 kB / 0.7159 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.2278, allocations: 0 / 0.7159 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005763/0.2283, allocations: 343.4 kB / 0.7162 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.2284, allocations: 4 kB / 0.7162 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.2284, allocations: 19.92 kB / 0.7162 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.2287, allocations: 159.7 kB / 0.7164 GB, free: 124 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2287, allocations: 0 / 0.7164 GB, free: 124 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2287, allocations: 4 kB / 0.7164 GB, free: 120 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2287, allocations: 0 / 0.7164 GB, free: 120 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005265/0.2292, allocations: 363.1 kB / 0.7167 GB, free: 15.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2293, allocations: 8.031 kB / 0.7167 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.2293, allocations: 38.69 kB / 0.7168 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.2293, allocations: 8.891 kB / 0.7168 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.2295, allocations: 164.3 kB / 0.717 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2295, allocations: 4.375 kB / 0.717 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.2295, allocations: 4.375 kB / 0.717 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.2297, allocations: 58.17 kB / 0.717 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2297, allocations: 3.938 kB / 0.717 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2297, allocations: 8 kB / 0.717 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2297, allocations: 0 / 0.717 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.296e-05/0.2298, allocations: 19.98 kB / 0.717 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.23, allocations: 165.6 kB / 0.7172 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.2301, allocations: 50.56 kB / 0.7173 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.2301, allocations: 32.84 kB / 0.7173 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2301, allocations: 7.938 kB / 0.7173 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2302, allocations: 38.55 kB / 0.7173 GB, free: 14.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.2302, allocations: 0 / 0.7173 GB, free: 14.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001256/0.2314, allocations: 0.5956 MB / 0.7179 GB, free: 14.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.2315, allocations: 51.41 kB / 0.718 GB, free: 14.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.2316, allocations: 101.8 kB / 0.7181 GB, free: 14.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2316, allocations: 25.7 kB / 0.7181 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.2317, allocations: 88.12 kB / 0.7182 GB, free: 14.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.2317, allocations: 39.66 kB / 0.7182 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.2318, allocations: 29.7 kB / 0.7182 GB, free: 13.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2319, allocations: 315 kB / 0.7185 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/0.232, allocations: 23.98 kB / 0.7186 GB, free: 13.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.476e-05/0.232, allocations: 19.98 kB / 0.7186 GB, free: 13.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.2322, allocations: 64.86 kB / 0.7186 GB, free: 13.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2322, allocations: 0 / 0.7186 GB, free: 13.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001854/0.2323, allocations: 96.23 kB / 0.7187 GB, free: 13.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2324, allocations: 4 kB / 0.7187 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2324, allocations: 0 / 0.7187 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.2324, allocations: 4 kB / 0.7187 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.2325, allocations: 23.94 kB / 0.7188 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.2325, allocations: 7.984 kB / 0.7188 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.2326, allocations: 0 / 0.7188 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.2326, allocations: 4 kB / 0.7188 GB, free: 13.37 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 (13): * Single equations (assignments): 13 * 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.000114/0.2327, allocations: 113.8 kB / 0.7189 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.2327, allocations: 11.89 kB / 0.7189 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.2329, allocations: 109.5 kB / 0.719 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.233, allocations: 0 / 0.719 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.233, allocations: 0 / 0.719 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.233, allocations: 11.98 kB / 0.719 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.2335, allocations: 346.5 kB / 0.7193 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2335, allocations: 3.938 kB / 0.7193 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.2336, allocations: 23.94 kB / 0.7194 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2336, allocations: 0 / 0.7194 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2336, allocations: 4 kB / 0.7194 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2336, allocations: 3.984 kB / 0.7194 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2336, allocations: 0 / 0.7194 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.234, allocations: 223.4 kB / 0.7196 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.234, allocations: 81.06 kB / 0.7197 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.2341, allocations: 4.031 kB / 0.7197 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.2341, allocations: 0 / 0.7197 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.2342, allocations: 15.92 kB / 0.7197 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.2342, allocations: 4 kB / 0.7197 GB, free: 12.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.2342, allocations: 75.28 kB / 0.7198 GB, free: 12.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.2342, allocations: 0 / 0.7198 GB, free: 12.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003237/0.2346, allocations: 43.95 kB / 0.7198 GB, free: 12.21 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0007809/0.2353, allocations: 0.7748 MB / 0.7206 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.2355, allocations: 67.86 kB / 0.7206 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2355, allocations: 0 / 0.7206 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.594e-05/0.2356, allocations: 31.92 kB / 0.7206 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.2358, allocations: 9.438 kB / 0.7207 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.2377, allocations: 1.511 MB / 0.7221 GB, free: 9.715 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.238, allocations: 0.6846 MB / 0.7228 GB, free: 9.004 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.897e-05/0.238, allocations: 11.92 kB / 0.7228 GB, free: 8.992 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.2381, allocations: 19.44 kB / 0.7228 GB, free: 8.973 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.2381, allocations: 0 / 0.7228 GB, free: 8.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.2669, allocations: 2.113 MB / 0.7249 GB, free: 7.043 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.393, allocations: 16.73 kB / 0.7249 GB, free: 7.031 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_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_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.36152550499537] Failed to read output from testmodel.py, exit status != 0: 8.46325096199871 8.488217023 8.254753881 Calling exit ...