Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.00176/0.00176, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002451/0.002451, allocations: 215 kB / 22.25 MB, free: 5.129 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.996 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.9356/0.9356, allocations: 145 MB / 457.4 MB, free: 15.49 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_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.002064/0.002064, allocations: 74.34 kB / 0.6332 GB, free: 7.273 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1918, allocations: 87.88 MB / 0.719 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002585/0.1944, allocations: 1.309 MB / 0.7203 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1955, allocations: 0.6188 MB / 0.7209 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.1955, allocations: 4 kB / 0.7209 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.1955, allocations: 0 / 0.7209 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.145e-05/0.1956, allocations: 11.92 kB / 0.7209 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.1961, allocations: 142.1 kB / 0.721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.283e-05/0.1962, allocations: 19.92 kB / 0.721 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.1962, allocations: 7.984 kB / 0.7211 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.1963, allocations: 7.938 kB / 0.7211 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.1963, allocations: 8 kB / 0.7211 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1964, allocations: 3.938 kB / 0.7211 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.1969, allocations: 347.3 kB / 0.7214 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.1969, allocations: 4 kB / 0.7214 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.1969, allocations: 11.94 kB / 0.7214 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.1972, allocations: 143.6 kB / 0.7216 GB, free: 12.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1972, allocations: 0 / 0.7216 GB, free: 12.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1972, allocations: 0 / 0.7216 GB, free: 12.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.1972, allocations: 3.984 kB / 0.7216 GB, free: 12.77 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.0004451/0.1977, allocations: 286 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1977, allocations: 8.031 kB / 0.7218 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.1977, allocations: 30.75 kB / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.1978, allocations: 12.89 kB / 0.7219 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1979, allocations: 114.5 kB / 0.722 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1979, allocations: 384 / 0.722 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.1979, allocations: 4.375 kB / 0.722 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.198, allocations: 38.25 kB / 0.722 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1981, allocations: 11.88 kB / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1981, allocations: 0 / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1981, allocations: 0 / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.1981, allocations: 8 kB / 0.7221 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.1983, allocations: 132.7 kB / 0.7222 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1985, allocations: 50.53 kB / 0.7222 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.1985, allocations: 20.94 kB / 0.7222 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1985, allocations: 0 / 0.7222 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1986, allocations: 34.56 kB / 0.7223 GB, free: 11.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1986, allocations: 0 / 0.7223 GB, free: 11.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006108/0.1992, allocations: 233.1 kB / 0.7225 GB, free: 11.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.1992, allocations: 51.41 kB / 0.7226 GB, free: 11.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.1993, allocations: 101.8 kB / 0.7226 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1993, allocations: 25.7 kB / 0.7227 GB, free: 11.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.1994, allocations: 80.14 kB / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.1994, allocations: 23.8 kB / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.1994, allocations: 21.7 kB / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.1996, allocations: 310.8 kB / 0.7231 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.088e-05/0.1996, allocations: 16 kB / 0.7231 GB, free: 10.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.48e-05/0.1996, allocations: 19.92 kB / 0.7231 GB, free: 10.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.849e-05/0.1997, allocations: 28.84 kB / 0.7232 GB, free: 10.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.1997, allocations: 4 kB / 0.7232 GB, free: 10.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001096/0.1998, allocations: 65.78 kB / 0.7232 GB, free: 10.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1998, allocations: 10.03 kB / 0.7232 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1998, allocations: 7.875 kB / 0.7232 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1998, allocations: 0 / 0.7232 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.1999, allocations: 8 kB / 0.7232 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1999, allocations: 8 kB / 0.7232 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.1999, allocations: 8 kB / 0.7233 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1999, allocations: 3.984 kB / 0.7233 GB, free: 10.81 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 8.678e-05/0.2, allocations: 115.2 kB / 0.7234 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.2, allocations: 3.938 kB / 0.7234 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.2002, allocations: 73.77 kB / 0.7234 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2002, allocations: 4 kB / 0.7234 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2002, allocations: 0 / 0.7234 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2002, allocations: 3.984 kB / 0.7235 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.2005, allocations: 290.4 kB / 0.7237 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2005, allocations: 0 / 0.7237 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.2006, allocations: 12 kB / 0.7237 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2006, allocations: 0 / 0.7237 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2006, allocations: 0 / 0.7237 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2006, allocations: 3.938 kB / 0.7237 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2006, allocations: 4 kB / 0.7237 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.2008, allocations: 180.4 kB / 0.7239 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.2009, allocations: 11.97 kB / 0.7239 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.2009, allocations: 0 / 0.7239 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.2009, allocations: 4 kB / 0.7239 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.201, allocations: 4 kB / 0.7239 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.201, allocations: 0.5156 kB / 0.7239 GB, free: 10.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.594e-05/0.201, allocations: 83.27 kB / 0.724 GB, free: 9.941 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.201, allocations: 0 / 0.724 GB, free: 9.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002475/0.2013, allocations: 28 kB / 0.724 GB, free: 9.914 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0006106/0.2019, allocations: 0.7326 MB / 0.7248 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.202, allocations: 36.17 kB / 0.7248 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.202, allocations: 3.938 kB / 0.7248 GB, free: 9.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.202, allocations: 20.06 kB / 0.7248 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.2023, allocations: 2.172 kB / 0.7248 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.2037, allocations: 1.339 MB / 0.7261 GB, free: 7.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.204, allocations: 0.6807 MB / 0.7268 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.204, allocations: 4 kB / 0.7268 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.2041, allocations: 11.44 kB / 0.7268 GB, free: 6.949 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.2041, allocations: 0 / 0.7268 GB, free: 6.949 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.2349, allocations: 1.756 MB / 0.7285 GB, free: 5.355 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.27, allocations: 7.781 kB / 0.7285 GB, free: 5.355 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.110363154999504] Failed to read output from testmodel.py, exit status != 0: 11.376246541 11.39159249 11.191364824999999 Calling exit ...