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.00168/0.00168, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001982/0.001982, allocations: 213.6 kB / 23.74 MB, free: 4.543 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.511/1.511, allocations: 230.6 MB / 257.5 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.9714/0.9714, allocations: 149.9 MB / 463.8 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.00213/0.00213, allocations: 69.67 kB / 0.6423 GB, free: 9.629 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1996, allocations: 89.17 MB / 0.7294 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002997/0.2026, allocations: 1.459 MB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.2039, allocations: 0.5643 MB / 0.7314 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.2039, allocations: 0 / 0.7314 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.204, allocations: 3.938 kB / 0.7314 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/0.204, allocations: 11.92 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000671/0.2047, allocations: 155.4 kB / 0.7315 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.2048, allocations: 55.83 kB / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.2048, allocations: 4 kB / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.515e-05/0.2049, allocations: 23.92 kB / 0.7316 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.205, allocations: 27.84 kB / 0.7316 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.205, allocations: 4 kB / 0.7316 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004581/0.2054, allocations: 271.5 kB / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.2055, allocations: 11.97 kB / 0.7319 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.2055, allocations: 19.88 kB / 0.7319 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.2058, allocations: 167.4 kB / 0.7321 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2058, allocations: 0 / 0.7321 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2058, allocations: 3.938 kB / 0.7321 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.2058, allocations: 4 kB / 0.7321 GB, free: 13.73 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.0006728/0.2065, allocations: 325.8 kB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2066, allocations: 8.031 kB / 0.7324 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.2066, allocations: 12.89 kB / 0.7324 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.2067, allocations: 110.5 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.2068, allocations: 384 / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.2068, allocations: 16.31 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.2071, allocations: 144 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2072, allocations: 7.984 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2072, allocations: 0 / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2072, allocations: 0 / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.2074, allocations: 51.95 kB / 0.7327 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.208, allocations: 268.3 kB / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.2083, allocations: 74.53 kB / 0.7331 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2084, allocations: 32.84 kB / 0.7331 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.2084, allocations: 0 / 0.7331 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.2085, allocations: 34.56 kB / 0.7331 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.2085, allocations: 0 / 0.7331 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001657/0.2101, allocations: 0.4935 MB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.2102, allocations: 59.28 kB / 0.7337 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.2103, allocations: 105.8 kB / 0.7338 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.2103, allocations: 29.7 kB / 0.7338 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.2104, allocations: 88.09 kB / 0.7339 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.2104, allocations: 35.69 kB / 0.7339 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.2105, allocations: 33.7 kB / 0.7339 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2106, allocations: 314.8 kB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2108, allocations: 35.97 kB / 0.7343 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.2109, allocations: 31.98 kB / 0.7343 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.2112, allocations: 72.77 kB / 0.7344 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.2112, allocations: 4 kB / 0.7344 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003219/0.2115, allocations: 117.7 kB / 0.7345 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2115, allocations: 7.938 kB / 0.7345 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.2115, allocations: 3.984 kB / 0.7345 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2115, allocations: 0 / 0.7345 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.2117, allocations: 31.98 kB / 0.7345 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.2117, allocations: 3.938 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.2118, allocations: 4 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2118, allocations: 4.094 kB / 0.7345 GB, free: 10.98 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.0001053/0.2119, allocations: 121.8 kB / 0.7347 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.2119, allocations: 7.953 kB / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.2124, allocations: 129.6 kB / 0.7348 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2124, allocations: 0 / 0.7348 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2124, allocations: 7.938 kB / 0.7348 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2124, allocations: 0 / 0.7348 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.2131, allocations: 326.1 kB / 0.7351 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2131, allocations: 0 / 0.7351 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.2132, allocations: 27.98 kB / 0.7351 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.2132, allocations: 8.172 kB / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2133, allocations: 3.938 kB / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2133, allocations: 0 / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2133, allocations: 0 / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.2138, allocations: 266 kB / 0.7354 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.2138, allocations: 3.953 kB / 0.7354 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2138, allocations: 7.875 kB / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.214, allocations: 11.98 kB / 0.7354 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.214, allocations: 7.984 kB / 0.7354 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.214, allocations: 4 kB / 0.7354 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.2141, allocations: 83.28 kB / 0.7355 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2141, allocations: 0 / 0.7355 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002893/0.2143, allocations: 31.88 kB / 0.7356 GB, free: 9.883 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.0002616/0.2146, allocations: 135.2 kB / 0.7357 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.2149, allocations: 79.83 kB / 0.7358 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2149, allocations: 0 / 0.7358 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.2151, allocations: 43.97 kB / 0.7358 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.2154, allocations: 10.34 kB / 0.7358 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008598/0.2163, allocations: 347.6 kB / 0.7361 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.606e-05/0.2164, allocations: 75.33 kB / 0.7362 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.2164, allocations: 19.42 kB / 0.7362 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2164, allocations: 0 / 0.7362 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of Templates: time 0.003646/0.2201, allocations: 1.35 MB / 0.7375 GB, free: 7.785 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 os._exit(0), Time elapsed: 8.284301016945392] Failed to read output from testmodel.py, exit status != 0: 0.22922633262351155 0.24574981 0.036360214 Calling exit ...