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.001433/0.001433, allocations: 75.05 kB / 20.51 MB, free: 1.281 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.001444/0.001444, allocations: 168 kB / 23.77 MB, free: 4.461 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.491/1.491, allocations: 177.2 MB / 204.1 MB, free: 8.965 MB / 190.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.91/0.91, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.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.002115/0.002115, allocations: 67.02 kB / 0.555 GB, free: 2.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1867, allocations: 89.15 MB / 0.6421 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002604/0.1893, allocations: 1.279 MB / 0.6433 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1904, allocations: 0.5449 MB / 0.6439 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.1904, allocations: 3.938 kB / 0.6439 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.1904, allocations: 0 / 0.6439 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.196e-05/0.1905, allocations: 3.938 kB / 0.6439 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006693/0.1911, allocations: 159.4 kB / 0.644 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.1912, allocations: 23.92 kB / 0.6441 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.1912, allocations: 0 / 0.6441 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.1913, allocations: 15.94 kB / 0.6441 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.1913, allocations: 19.91 kB / 0.6441 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1913, allocations: 4 kB / 0.6441 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.1918, allocations: 263.5 kB / 0.6444 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.1918, allocations: 11.94 kB / 0.6444 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.1918, allocations: 7.984 kB / 0.6444 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.1921, allocations: 147.5 kB / 0.6445 GB, free: 7.039 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1921, allocations: 0 / 0.6445 GB, free: 7.039 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1921, allocations: 0 / 0.6445 GB, free: 7.039 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1921, allocations: 0 / 0.6445 GB, free: 7.039 MB / 0.545 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.0004443/0.1926, allocations: 297.8 kB / 0.6448 GB, free: 6.719 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1926, allocations: 12.03 kB / 0.6448 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.1927, allocations: 4.938 kB / 0.6448 GB, free: 6.703 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1928, allocations: 106.5 kB / 0.6449 GB, free: 6.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.1928, allocations: 8.375 kB / 0.6449 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1928, allocations: 384 / 0.6449 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.193, allocations: 109 kB / 0.645 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.193, allocations: 3.953 kB / 0.645 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.193, allocations: 4 kB / 0.645 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1931, allocations: 0 / 0.645 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.819e-05/0.1931, allocations: 19.98 kB / 0.6451 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.1933, allocations: 117.2 kB / 0.6452 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.1934, allocations: 62.5 kB / 0.6452 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.1935, allocations: 24.84 kB / 0.6452 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1935, allocations: 4 kB / 0.6453 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1935, allocations: 38.5 kB / 0.6453 GB, free: 6.121 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1935, allocations: 0 / 0.6453 GB, free: 6.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001185/0.1947, allocations: 451.9 kB / 0.6457 GB, free: 5.625 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1948, allocations: 55.41 kB / 0.6458 GB, free: 5.559 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.1949, allocations: 93.86 kB / 0.6459 GB, free: 5.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1949, allocations: 29.7 kB / 0.6459 GB, free: 5.422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.1949, allocations: 80.14 kB / 0.646 GB, free: 5.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.195, allocations: 43.58 kB / 0.646 GB, free: 5.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.195, allocations: 29.7 kB / 0.646 GB, free: 5.262 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.1952, allocations: 318.8 kB / 0.6463 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.1953, allocations: 24.02 kB / 0.6464 GB, free: 4.918 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.382e-05/0.1953, allocations: 26.42 kB / 0.6464 GB, free: 4.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1954, allocations: 52.86 kB / 0.6464 GB, free: 4.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1954, allocations: 4.125 kB / 0.6464 GB, free: 4.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000171/0.1956, allocations: 105.6 kB / 0.6465 GB, free: 4.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1956, allocations: 7.984 kB / 0.6466 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1956, allocations: 0 / 0.6466 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1956, allocations: 0 / 0.6466 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1957, allocations: 23.94 kB / 0.6466 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1957, allocations: 0 / 0.6466 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.1958, allocations: 4 kB / 0.6466 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1958, allocations: 11.98 kB / 0.6466 GB, free: 4.68 MB / 0.545 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.0001043/0.1959, allocations: 121.7 kB / 0.6467 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.1959, allocations: 4 kB / 0.6467 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.1961, allocations: 101.7 kB / 0.6468 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1961, allocations: 0 / 0.6468 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1961, allocations: 0 / 0.6468 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1961, allocations: 7.984 kB / 0.6468 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.1965, allocations: 298.1 kB / 0.6471 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1965, allocations: 0 / 0.6471 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1967, allocations: 23.92 kB / 0.6471 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1967, allocations: 0 / 0.6471 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1967, allocations: 8 kB / 0.6471 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1967, allocations: 0 / 0.6471 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1967, allocations: 4 kB / 0.6471 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.197, allocations: 210.1 kB / 0.6473 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.197, allocations: 11.89 kB / 0.6473 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.197, allocations: 8.016 kB / 0.6474 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1971, allocations: 0 / 0.6474 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.1971, allocations: 7.984 kB / 0.6474 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.1971, allocations: 8 kB / 0.6474 GB, free: 3.812 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.1972, allocations: 75.28 kB / 0.6474 GB, free: 3.738 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1972, allocations: 0 / 0.6474 GB, free: 3.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002844/0.1975, allocations: 35.88 kB / 0.6475 GB, free: 3.703 MB / 0.545 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.0002261/0.1977, allocations: 135.2 kB / 0.6476 GB, free: 3.562 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1979, allocations: 55.92 kB / 0.6477 GB, free: 3.508 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1979, allocations: 0 / 0.6477 GB, free: 3.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/0.1979, allocations: 35.92 kB / 0.6477 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.1981, allocations: 8 kB / 0.6477 GB, free: 3.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.1987, allocations: 289.7 kB / 0.648 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.855e-05/0.1988, allocations: 71.33 kB / 0.648 GB, free: 3.066 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.1988, allocations: 12 kB / 0.6481 GB, free: 3.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.1988, allocations: 16.44 kB / 0.6481 GB, free: 3.039 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1988, allocations: 0 / 0.6481 GB, free: 3.039 MB / 0.545 GB Notification: Performance of Templates: time 0.004021/0.2029, allocations: 0.9147 MB / 0.649 GB, free: 2.172 MB / 0.545 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4201387030771] Failed to read output from testmodel.py, exit status != 0: 0.2117860569851473 0.226891215 0.031618152000000004 Calling exit ...