Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001894/0.001894, 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.002496/0.002496, allocations: 213.3 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9665/0.9665, allocations: 149.9 MB / 463 MB, free: 10.33 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001971/0.001971, allocations: 66.34 kB / 0.6415 GB, free: 9.617 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1951, allocations: 89.18 MB / 0.7286 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002975/0.198, allocations: 1.463 MB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1992, allocations: 0.5605 MB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.1992, allocations: 4 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.1993, allocations: 3.938 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.519e-05/0.1993, allocations: 7.922 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.1999, allocations: 162.5 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2, allocations: 51.8 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.2001, allocations: 3.984 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.2002, allocations: 23.92 kB / 0.7309 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.2002, allocations: 27.91 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.2002, allocations: 4 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004581/0.2007, allocations: 271.5 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.2007, allocations: 19.86 kB / 0.7312 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.2007, allocations: 19.92 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.201, allocations: 171.4 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.201, allocations: 0 / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.201, allocations: 0 / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.2011, allocations: 0 / 0.7313 GB, free: 13.72 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006519/0.2017, allocations: 321.8 kB / 0.7317 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2017, allocations: 8.031 kB / 0.7317 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.2018, allocations: 8.891 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.2019, allocations: 122.5 kB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.2019, allocations: 4.375 kB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.202, allocations: 12.33 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.2023, allocations: 129 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2023, allocations: 0 / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.2023, allocations: 0 / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2023, allocations: 4 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.2025, allocations: 55.95 kB / 0.732 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.2031, allocations: 264.2 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.2034, allocations: 74.53 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.2035, allocations: 28.84 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.2035, allocations: 4 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.2035, allocations: 34.55 kB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.2035, allocations: 4 kB / 0.7324 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001657/0.2052, allocations: 499.6 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.2053, allocations: 63.33 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2054, allocations: 105.8 kB / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.2054, allocations: 29.7 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.2055, allocations: 92.08 kB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.2055, allocations: 31.7 kB / 0.7332 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.2056, allocations: 33.7 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.2058, allocations: 322.9 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2059, allocations: 31.92 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.2061, allocations: 31.97 kB / 0.7336 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.2063, allocations: 80.08 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2063, allocations: 0 / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000348/0.2067, allocations: 121.7 kB / 0.7338 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2067, allocations: 4.938 kB / 0.7338 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2067, allocations: 4 kB / 0.7338 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2067, allocations: 0 / 0.7338 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2069, allocations: 23.98 kB / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2069, allocations: 3.938 kB / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.615e-05/0.2069, allocations: 7.984 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2069, allocations: 12 kB / 0.7338 GB, free: 10.97 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.0001064/0.2071, allocations: 117.8 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.2071, allocations: 3.953 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.2075, allocations: 140.2 kB / 0.7341 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2075, allocations: 0 / 0.7341 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.2075, allocations: 7.938 kB / 0.7341 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2075, allocations: 0 / 0.7341 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.2081, allocations: 326.1 kB / 0.7344 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2081, allocations: 4 kB / 0.7344 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.2082, allocations: 27.98 kB / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2082, allocations: 0 / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.2082, allocations: 3.938 kB / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2082, allocations: 0 / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2082, allocations: 0 / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005421/0.2088, allocations: 251.4 kB / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.2088, allocations: 8.016 kB / 0.7347 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.2088, allocations: 7.969 kB / 0.7347 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.2089, allocations: 11.98 kB / 0.7347 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.209, allocations: 7.984 kB / 0.7347 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.209, allocations: 0 / 0.7347 GB, free: 10 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.209, allocations: 83.28 kB / 0.7348 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.209, allocations: 3.938 kB / 0.7348 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002963/0.2093, allocations: 39.86 kB / 0.7348 GB, free: 9.875 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002389/0.2096, allocations: 127.1 kB / 0.7349 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.2099, allocations: 87.88 kB / 0.735 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2099, allocations: 0 / 0.735 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.21, allocations: 43.86 kB / 0.7351 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.2104, allocations: 8 kB / 0.7351 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007452/0.2111, allocations: 330 kB / 0.7354 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.683e-05/0.2112, allocations: 75.33 kB / 0.7354 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.266e-05/0.2112, allocations: 4.672 kB / 0.7355 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.2113, allocations: 19.44 kB / 0.7355 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2113, allocations: 3.938 kB / 0.7355 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of Templates: time 0.004456/0.2157, allocations: 1.167 MB / 0.7366 GB, free: 8.023 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.917474370449781] Failed to read output from testmodel.py, exit status != 0: 0.225247073918581 0.239061675 0.034984378000000003 Calling exit ...