Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.002039/0.002039, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002456/0.002456, allocations: 215.5 kB / 22.99 MB, free: 4.977 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.73/1.73, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.048/1.048, allocations: 149.9 MB / 463 MB, free: 10.28 MB / 366.1 MB " [Timeout remaining time 178] 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_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.002479/0.002479, allocations: 75.22 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1923, allocations: 89.17 MB / 0.7282 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003109/0.1954, allocations: 1.293 MB / 0.7294 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1967, allocations: 0.5371 MB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.1967, allocations: 0 / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.1967, allocations: 4 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.332e-05/0.1968, allocations: 3.938 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008006/0.1976, allocations: 155.4 kB / 0.7301 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.953e-05/0.1977, allocations: 27.86 kB / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.943e-05/0.1977, allocations: 4 kB / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.1978, allocations: 7.984 kB / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.1978, allocations: 15.92 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.1978, allocations: 4 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005067/0.1983, allocations: 271.5 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.1984, allocations: 8 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.1984, allocations: 7.938 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.1987, allocations: 147.8 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1987, allocations: 0 / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1987, allocations: 0 / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.1987, allocations: 0 / 0.7306 GB, free: 14.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004965/0.1992, allocations: 297.9 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1993, allocations: 8.031 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.1993, allocations: 34.75 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.1994, allocations: 8.938 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1995, allocations: 110.5 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1995, allocations: 384 / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.1995, allocations: 12.11 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1997, allocations: 101.1 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1997, allocations: 7.891 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1997, allocations: 0 / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1997, allocations: 4 kB / 0.7311 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.656e-05/0.1998, allocations: 15.98 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.2, allocations: 136.7 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.2001, allocations: 66.48 kB / 0.7313 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.2002, allocations: 36.78 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2002, allocations: 4 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.2002, allocations: 30.56 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.2002, allocations: 0 / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001181/0.2014, allocations: 439.9 kB / 0.7318 GB, free: 13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.2015, allocations: 55.34 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.2016, allocations: 101.9 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2016, allocations: 25.7 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.2016, allocations: 80.14 kB / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.2017, allocations: 47.62 kB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.2017, allocations: 25.7 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2019, allocations: 322.8 kB / 0.7325 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.2019, allocations: 19.98 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.437e-05/0.202, allocations: 27.31 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.2021, allocations: 56.84 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.2021, allocations: 0 / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001617/0.2022, allocations: 97.77 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2023, allocations: 8 kB / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2023, allocations: 0 / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2023, allocations: 0 / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2024, allocations: 31.92 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2024, allocations: 0 / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.2024, allocations: 0 / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.2024, allocations: 4 kB / 0.7327 GB, free: 12.06 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 (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.0001133/0.2026, allocations: 121.7 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.2026, allocations: 7.984 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.2028, allocations: 109.7 kB / 0.7329 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2028, allocations: 4 kB / 0.7329 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2028, allocations: 0 / 0.7329 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2028, allocations: 8.094 kB / 0.7329 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.2033, allocations: 317.5 kB / 0.7332 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2033, allocations: 0 / 0.7332 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2034, allocations: 27.92 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2034, allocations: 0 / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2035, allocations: 0 / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2035, allocations: 3.938 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2035, allocations: 0 / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.2038, allocations: 219.3 kB / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.2038, allocations: 11.97 kB / 0.7335 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2038, allocations: 4 kB / 0.7335 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/0.2039, allocations: 4 kB / 0.7335 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.2039, allocations: 7.922 kB / 0.7335 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.2039, allocations: 8 kB / 0.7335 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.204, allocations: 79.28 kB / 0.7336 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.204, allocations: 0 / 0.7336 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002967/0.2043, allocations: 35.88 kB / 0.7336 GB, free: 11.03 MB / 0.5606 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.0007358/0.205, allocations: 0.7788 MB / 0.7344 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.2052, allocations: 63.84 kB / 0.7344 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2052, allocations: 4 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.2052, allocations: 31.98 kB / 0.7345 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.2055, allocations: 10.72 kB / 0.7345 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.2072, allocations: 1.504 MB / 0.736 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.568e-05/0.2073, allocations: 72.34 kB / 0.736 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.899e-05/0.2073, allocations: 8 kB / 0.736 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.2074, allocations: 19.42 kB / 0.7361 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2074, allocations: 0 / 0.7361 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04414/0.2515, allocations: 2.558 MB / 0.7386 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.36, allocations: 10.66 kB / 0.7386 GB, free: 6.035 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.795697727240622] Failed to read output from testmodel.py, exit status != 0: 11.465875325724483 11.483938971 11.281494941 Calling exit ...