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.001367/0.001367, allocations: 108.9 kB / 20.45 MB, free: 1.5 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.001717/0.001717, allocations: 212.6 kB / 23.75 MB, free: 4.746 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.992 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 0.9477/0.9477, allocations: 150 MB / 463.9 MB, free: 10.46 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: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [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.002081/0.002081, allocations: 70.2 kB / 0.6425 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.19, allocations: 89.17 MB / 0.7296 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002781/0.1928, allocations: 1.299 MB / 0.7309 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.194, allocations: 0.6227 MB / 0.7315 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.194, allocations: 0 / 0.7315 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.194, allocations: 7.938 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/0.1941, allocations: 0 / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.1948, allocations: 151.4 kB / 0.7316 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.642e-05/0.1949, allocations: 31.84 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.261e-05/0.1949, allocations: 4 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.195, allocations: 4 kB / 0.7316 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.195, allocations: 19.86 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.195, allocations: 4 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005771/0.1956, allocations: 343.4 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.1956, allocations: 7.984 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.1957, allocations: 11.94 kB / 0.732 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.196, allocations: 155.5 kB / 0.7322 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.196, allocations: 0 / 0.7322 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.196, allocations: 0 / 0.7322 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.196, allocations: 0 / 0.7322 GB, free: 14.08 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.0004869/0.1965, allocations: 297.9 kB / 0.7324 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1965, allocations: 8.031 kB / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.1966, allocations: 8.875 kB / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1967, allocations: 110.5 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.1967, allocations: 12.38 kB / 0.7326 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.1968, allocations: 4.375 kB / 0.7326 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1969, allocations: 49.62 kB / 0.7326 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1969, allocations: 3.953 kB / 0.7326 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1969, allocations: 7.984 kB / 0.7326 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1969, allocations: 3.984 kB / 0.7326 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.815e-05/0.197, allocations: 16 kB / 0.7327 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.1972, allocations: 144.7 kB / 0.7328 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1974, allocations: 58.5 kB / 0.7329 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.966e-05/0.1974, allocations: 28.84 kB / 0.7329 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1975, allocations: 3.938 kB / 0.7329 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1975, allocations: 30.56 kB / 0.7329 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1975, allocations: 0 / 0.7329 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001277/0.1988, allocations: 447.8 kB / 0.7333 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1988, allocations: 55.41 kB / 0.7334 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.061e-05/0.1989, allocations: 89.86 kB / 0.7335 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1989, allocations: 33.7 kB / 0.7335 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.199, allocations: 80.27 kB / 0.7336 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.199, allocations: 43.64 kB / 0.7336 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.1991, allocations: 29.7 kB / 0.7337 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1992, allocations: 318.8 kB / 0.734 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.1993, allocations: 23.92 kB / 0.734 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.24e-05/0.1993, allocations: 23.98 kB / 0.734 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.677e-05/0.1994, allocations: 52.8 kB / 0.7341 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1994, allocations: 0 / 0.7341 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001659/0.1996, allocations: 99.14 kB / 0.7342 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1996, allocations: 12 kB / 0.7342 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1996, allocations: 4 kB / 0.7342 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1996, allocations: 0 / 0.7342 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1997, allocations: 23.92 kB / 0.7342 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.1998, allocations: 4 kB / 0.7342 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.1998, allocations: 4 kB / 0.7342 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1998, allocations: 4 kB / 0.7342 GB, free: 11.76 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.0001091/0.1999, allocations: 121.7 kB / 0.7343 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.1999, allocations: 4 kB / 0.7343 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.2001, allocations: 105.6 kB / 0.7344 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2001, allocations: 4 kB / 0.7344 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2002, allocations: 0 / 0.7344 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2002, allocations: 0 / 0.7344 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.2006, allocations: 335.1 kB / 0.7348 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2006, allocations: 0 / 0.7348 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.2007, allocations: 23.92 kB / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2007, allocations: 0 / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2008, allocations: 4 kB / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2008, allocations: 0 / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2008, allocations: 4 kB / 0.7348 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.201, allocations: 211.5 kB / 0.735 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.201, allocations: 7.984 kB / 0.735 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2011, allocations: 4 kB / 0.735 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.768e-05/0.2011, allocations: 4 kB / 0.735 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.2012, allocations: 7.922 kB / 0.735 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.2012, allocations: 7.938 kB / 0.735 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.351e-05/0.2012, allocations: 87.34 kB / 0.7351 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2012, allocations: 96 / 0.7351 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002884/0.2015, allocations: 39.8 kB / 0.7351 GB, free: 10.72 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.0002471/0.2018, allocations: 135 kB / 0.7353 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.2019, allocations: 55.97 kB / 0.7353 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2019, allocations: 4 kB / 0.7353 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.185e-05/0.202, allocations: 26.89 kB / 0.7353 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.2023, allocations: 16.83 kB / 0.7354 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007244/0.203, allocations: 314.9 kB / 0.7357 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.2033, allocations: 0.6854 MB / 0.7363 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.2034, allocations: 15.44 kB / 0.7363 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2034, allocations: 3.938 kB / 0.7364 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of Templates: time 0.003519/0.2069, allocations: 1.135 MB / 0.7375 GB, free: 8.281 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.054269901942462] Failed to read output from testmodel.py, exit status != 0: 0.21644717594608665 0.232108683 0.03273009 Calling exit ...