Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001958/0.001958, allocations: 115 kB / 19.7 MB, free: 2.043 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.0027/0.0027, allocations: 225.4 kB / 23.01 MB, free: 4.945 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.016/1.016, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00215/0.00215, allocations: 62.16 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1947, allocations: 89.18 MB / 0.7284 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002376/0.197, allocations: 1.289 MB / 0.7296 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1981, allocations: 0.6149 MB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.1981, allocations: 0 / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.1981, allocations: 3.984 kB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.1982, allocations: 3.938 kB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.1987, allocations: 147.4 kB / 0.7304 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.1987, allocations: 19.94 kB / 0.7304 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.1988, allocations: 3.984 kB / 0.7304 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.1988, allocations: 7.938 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.1989, allocations: 8 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1989, allocations: 0 / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.1994, allocations: 347.3 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.1994, allocations: 7.938 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.1994, allocations: 4 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.1997, allocations: 149.2 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1997, allocations: 3.938 kB / 0.7309 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1997, allocations: 4 kB / 0.7309 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1997, allocations: 3.938 kB / 0.7309 GB, free: 14.64 MB / 0.5606 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.000413/0.2001, allocations: 285.9 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2001, allocations: 12.03 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.2002, allocations: 34.75 kB / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.2002, allocations: 0.9375 kB / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2003, allocations: 114.5 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.2003, allocations: 384 / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.2004, allocations: 8.125 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.2005, allocations: 41.69 kB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.2005, allocations: 0 / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.2005, allocations: 0 / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2005, allocations: 4 kB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.137e-05/0.2005, allocations: 11.94 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.2007, allocations: 128.7 kB / 0.7315 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.2009, allocations: 46.61 kB / 0.7316 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.2009, allocations: 24.88 kB / 0.7316 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.2009, allocations: 0 / 0.7316 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.201, allocations: 38.56 kB / 0.7316 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.201, allocations: 0 / 0.7316 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006162/0.2016, allocations: 229.2 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.2016, allocations: 55.41 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.298e-05/0.2017, allocations: 97.84 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2017, allocations: 29.7 kB / 0.732 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.2018, allocations: 88.12 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.2018, allocations: 15.8 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.2018, allocations: 25.7 kB / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.202, allocations: 314.8 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.652e-05/0.202, allocations: 8 kB / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.202, allocations: 11.98 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.875e-05/0.2021, allocations: 32.86 kB / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2021, allocations: 7.938 kB / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001062/0.2022, allocations: 69.77 kB / 0.7326 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2022, allocations: 4 kB / 0.7326 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2022, allocations: 0 / 0.7326 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.2022, allocations: 4 kB / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.134e-05/0.2023, allocations: 8 kB / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.2023, allocations: 3.984 kB / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.2023, allocations: 7.938 kB / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2023, allocations: 4 kB / 0.7326 GB, free: 12.69 MB / 0.5606 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 9.053e-05/0.2024, allocations: 119.7 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.2024, allocations: 7.953 kB / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.2026, allocations: 73.69 kB / 0.7328 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2026, allocations: 3.938 kB / 0.7328 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2026, allocations: 3.984 kB / 0.7328 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2026, allocations: 0 / 0.7328 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.2029, allocations: 290.6 kB / 0.7331 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.2029, allocations: 4 kB / 0.7331 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.203, allocations: 12.03 kB / 0.7331 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.203, allocations: 4 kB / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.203, allocations: 0 / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.203, allocations: 0 / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.203, allocations: 0 / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.2032, allocations: 184.3 kB / 0.7333 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.2032, allocations: 7.938 kB / 0.7333 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.2032, allocations: 12.09 kB / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.2033, allocations: 0 / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.2033, allocations: 4 kB / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.2033, allocations: 3.938 kB / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.343e-05/0.2034, allocations: 83.27 kB / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2034, allocations: 0 / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002472/0.2036, allocations: 19.94 kB / 0.7334 GB, free: 11.79 MB / 0.5606 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.0005495/0.2042, allocations: 0.7288 MB / 0.7341 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.2043, allocations: 31.98 kB / 0.7341 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2043, allocations: 0 / 0.7341 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.2043, allocations: 19.94 kB / 0.7341 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.2046, allocations: 7.938 kB / 0.7342 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.2058, allocations: 1.324 MB / 0.7354 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.2061, allocations: 0.6845 MB / 0.7361 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.96e-05/0.2062, allocations: 8.062 kB / 0.7361 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.2062, allocations: 19.47 kB / 0.7361 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2062, allocations: 3.938 kB / 0.7361 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.2364, allocations: 1.708 MB / 0.7378 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.46, allocations: 15.42 kB / 0.7378 GB, free: 7.277 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.406669715001044] Failed to read output from testmodel.py, exit status != 0: 11.567487248001271 11.588980569 11.385078254 Calling exit ...