Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001578/0.001578, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001821/0.001821, allocations: 212.5 kB / 22.99 MB, free: 4.605 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.017/1.017, allocations: 149.9 MB / 463 MB, free: 10.34 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_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.002457/0.002457, allocations: 66.41 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1953, allocations: 89.18 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.003118/0.1984, allocations: 1.284 MB / 0.7294 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1996, allocations: 0.5293 MB / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.1997, allocations: 4 kB / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.1997, allocations: 11.92 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.157e-05/0.1997, allocations: 7.922 kB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006787/0.2004, allocations: 143.4 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.872e-05/0.2005, allocations: 15.94 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.2005, allocations: 7.984 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.468e-05/0.2006, allocations: 11.92 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.437e-05/0.2006, allocations: 15.88 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.2007, allocations: 4 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.2011, allocations: 267.5 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.2011, allocations: 3.984 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.2012, allocations: 11.94 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.2015, allocations: 127.9 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2015, allocations: 3.938 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2015, allocations: 3.938 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2015, allocations: 0 / 0.7305 GB, free: 14.59 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.0004744/0.202, allocations: 286 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.202, allocations: 12.03 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.202, allocations: 30.75 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.2021, allocations: 4.938 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2022, allocations: 114.5 kB / 0.731 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2022, allocations: 384 / 0.731 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.2022, allocations: 12.12 kB / 0.731 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.2024, allocations: 59.39 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.2024, allocations: 0 / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2024, allocations: 8 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2024, allocations: 0 / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.2024, allocations: 7.938 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.2026, allocations: 136.8 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.2028, allocations: 46.56 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.2029, allocations: 20.8 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.2029, allocations: 0 / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.2029, allocations: 30.56 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2029, allocations: 0 / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006672/0.2036, allocations: 237.2 kB / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2036, allocations: 51.41 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.2037, allocations: 94.19 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.2037, allocations: 29.7 kB / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.2038, allocations: 84.14 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.2038, allocations: 23.78 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.2039, allocations: 21.72 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.204, allocations: 318.8 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.2041, allocations: 12 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.2041, allocations: 7.938 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.2041, allocations: 37 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2041, allocations: 3.938 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001103/0.2043, allocations: 69.61 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2043, allocations: 11.92 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2043, allocations: 0 / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.2043, allocations: 8.188 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.2044, allocations: 12 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2044, allocations: 0 / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.2044, allocations: 0 / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2044, allocations: 7.984 kB / 0.7323 GB, free: 12.61 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 0.0001042/0.2045, allocations: 113.8 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.2045, allocations: 7.953 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.2047, allocations: 73.67 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2047, allocations: 0 / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2047, allocations: 0 / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2047, allocations: 4 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.2051, allocations: 290.6 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2051, allocations: 0 / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.2052, allocations: 8 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.2052, allocations: 4 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.2052, allocations: 0 / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.2052, allocations: 0 / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2052, allocations: 3.984 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.2055, allocations: 176.3 kB / 0.7329 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.2055, allocations: 19.91 kB / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.2055, allocations: 0 / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.2056, allocations: 8.094 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.2056, allocations: 0 / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2057, allocations: 7.938 kB / 0.7329 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.828e-05/0.2057, allocations: 83.27 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2057, allocations: 0 / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002687/0.206, allocations: 19.94 kB / 0.733 GB, free: 11.71 MB / 0.5606 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.0006299/0.2066, allocations: 0.7288 MB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.2067, allocations: 31.92 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2067, allocations: 0 / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.357e-05/0.2068, allocations: 24 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.207, allocations: 12.69 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2084, allocations: 1.327 MB / 0.7351 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.651e-05/0.2085, allocations: 67.28 kB / 0.7352 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.2085, allocations: 4.312 kB / 0.7352 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.2086, allocations: 11.44 kB / 0.7352 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2086, allocations: 4 kB / 0.7352 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.2401, allocations: 2.109 MB / 0.7373 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.32, allocations: 8.438 kB / 0.7373 GB, free: 7.441 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.518891035113484] Failed to read output from testmodel.py, exit status != 0: 11.430211161263287 11.457617332 11.251499041 Calling exit ...