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.001602/0.001602, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002422/0.002422, allocations: 216.8 kB / 22.99 MB, free: 4.977 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.051/1.051, allocations: 149.9 MB / 463 MB, free: 10.35 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.003601/0.003601, allocations: 75.05 kB / 0.6416 GB, free: 9.641 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1856, allocations: 89.17 MB / 0.7286 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002576/0.1882, allocations: 1.291 MB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1893, allocations: 0.541 MB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.1893, allocations: 0 / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.1893, allocations: 7.875 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.806e-05/0.1894, allocations: 3.938 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006412/0.19, allocations: 151.4 kB / 0.7306 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.635e-05/0.1901, allocations: 27.91 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.1901, allocations: 0 / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.342e-05/0.1901, allocations: 8 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.1902, allocations: 19.92 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1902, allocations: 4 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.1907, allocations: 263.5 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.1907, allocations: 15.92 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.1907, allocations: 7.984 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.191, allocations: 143.5 kB / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.191, allocations: 0 / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.191, allocations: 3.938 kB / 0.7311 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.191, allocations: 0 / 0.7311 GB, free: 14.05 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.0004419/0.1914, allocations: 301.8 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1915, allocations: 12.03 kB / 0.7314 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.1915, allocations: 4.938 kB / 0.7314 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1916, allocations: 102.5 kB / 0.7315 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1916, allocations: 8.375 kB / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.1917, allocations: 384 / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.1919, allocations: 113 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1919, allocations: 3.953 kB / 0.7316 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1919, allocations: 4 kB / 0.7316 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1919, allocations: 0 / 0.7316 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/0.1919, allocations: 15.98 kB / 0.7316 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.1921, allocations: 113.3 kB / 0.7317 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1922, allocations: 58.56 kB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.1923, allocations: 28.84 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1923, allocations: 4 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1923, allocations: 42.44 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1923, allocations: 0 / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001168/0.1935, allocations: 441.5 kB / 0.7323 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.1935, allocations: 55.41 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.925e-05/0.1936, allocations: 97.86 kB / 0.7324 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1936, allocations: 25.7 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.1937, allocations: 84.14 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.1937, allocations: 39.64 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.1938, allocations: 29.7 kB / 0.7326 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1939, allocations: 314.8 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.194, allocations: 23.98 kB / 0.7329 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/0.194, allocations: 27.11 kB / 0.7329 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.1941, allocations: 52.86 kB / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1941, allocations: 128 / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001645/0.1943, allocations: 113.5 kB / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1943, allocations: 6.031 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1943, allocations: 3.984 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1944, allocations: 0 / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1945, allocations: 20.09 kB / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1945, allocations: 3.938 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.1945, allocations: 0 / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.1945, allocations: 4 kB / 0.7331 GB, free: 11.71 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 9.914e-05/0.1946, allocations: 129.6 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.1946, allocations: 7.938 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.1948, allocations: 106 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1948, allocations: 0 / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1948, allocations: 0 / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1949, allocations: 7.984 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.1953, allocations: 303 kB / 0.7336 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1953, allocations: 0 / 0.7336 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1954, allocations: 19.98 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1954, allocations: 0 / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1954, allocations: 4 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1954, allocations: 0 / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1954, allocations: 0 / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.1957, allocations: 222.5 kB / 0.7339 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-06/0.1957, allocations: 3.953 kB / 0.7339 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1957, allocations: 15.95 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.1958, allocations: 0 / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.1959, allocations: 7.984 kB / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1959, allocations: 8 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.832e-05/0.1959, allocations: 75.28 kB / 0.734 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1959, allocations: 0 / 0.734 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002806/0.1962, allocations: 35.88 kB / 0.734 GB, free: 10.71 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.0002014/0.1964, allocations: 131.2 kB / 0.7341 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1966, allocations: 63.36 kB / 0.7342 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1966, allocations: 0 / 0.7342 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.1966, allocations: 35.92 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.1968, allocations: 4 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.1974, allocations: 289.2 kB / 0.7345 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.1975, allocations: 80.2 kB / 0.7346 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.519e-05/0.1975, allocations: 8 kB / 0.7346 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.1976, allocations: 11.44 kB / 0.7346 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.1976, allocations: 0 / 0.7346 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.003721/0.2013, allocations: 0.9434 MB / 0.7355 GB, free: 9.156 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 sys.exit(0), Time elapsed: 5.9717264957726] Failed to read output from testmodel.py, exit status != 0: 0.21212568134069443 0.22532233399999996 0.031154675000000003 Calling exit ...