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.001583/0.001583, allocations: 105 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.001766/0.001766, allocations: 219.9 kB / 23.76 MB, free: 4.711 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.009/1.009, allocations: 150 MB / 463.9 MB, free: 10.53 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.002399/0.002399, allocations: 67.3 kB / 0.6425 GB, free: 9.949 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1827, allocations: 89.17 MB / 0.7296 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002961/0.1857, allocations: 1.493 MB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1869, allocations: 0.6344 MB / 0.7317 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.1869, allocations: 0 / 0.7317 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.1869, allocations: 3.938 kB / 0.7317 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.187, allocations: 11.94 kB / 0.7317 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.1877, allocations: 159.4 kB / 0.7318 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.1878, allocations: 47.84 kB / 0.7319 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.1878, allocations: 4 kB / 0.7319 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.316e-05/0.1879, allocations: 23.91 kB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.188, allocations: 27.86 kB / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.188, allocations: 4 kB / 0.7319 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005832/0.1886, allocations: 355.3 kB / 0.7323 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.1886, allocations: 11.98 kB / 0.7323 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.1886, allocations: 23.88 kB / 0.7323 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.1889, allocations: 175.3 kB / 0.7325 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1889, allocations: 0 / 0.7325 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.387e-06/0.189, allocations: 3.984 kB / 0.7325 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.189, allocations: 0 / 0.7325 GB, free: 13.86 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.0006407/0.1896, allocations: 321.8 kB / 0.7328 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1896, allocations: 12.03 kB / 0.7328 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.1897, allocations: 8.891 kB / 0.7328 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1898, allocations: 114.5 kB / 0.7329 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.1898, allocations: 8.375 kB / 0.7329 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.1899, allocations: 8.328 kB / 0.7329 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.1901, allocations: 77.59 kB / 0.733 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1901, allocations: 0 / 0.733 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.1901, allocations: 8 kB / 0.733 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1901, allocations: 0 / 0.733 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.1904, allocations: 51.95 kB / 0.7331 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.191, allocations: 307.6 kB / 0.7333 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.1913, allocations: 78.53 kB / 0.7334 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.1914, allocations: 28.84 kB / 0.7334 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1914, allocations: 4 kB / 0.7335 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1914, allocations: 30.56 kB / 0.7335 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1914, allocations: 3.938 kB / 0.7335 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001634/0.1931, allocations: 0.513 MB / 0.734 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1931, allocations: 51.41 kB / 0.734 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.1932, allocations: 97.84 kB / 0.7341 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1932, allocations: 33.7 kB / 0.7342 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.1933, allocations: 88.09 kB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.1933, allocations: 39.69 kB / 0.7343 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.1934, allocations: 37.7 kB / 0.7343 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1935, allocations: 310.8 kB / 0.7346 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1937, allocations: 35.97 kB / 0.7346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1938, allocations: 27.98 kB / 0.7347 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.194, allocations: 72.83 kB / 0.7347 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.194, allocations: 0 / 0.7347 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003902/0.1944, allocations: 123 kB / 0.7349 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1944, allocations: 8 kB / 0.7349 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1944, allocations: 0 / 0.7349 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1945, allocations: 3.938 kB / 0.7349 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1946, allocations: 27.97 kB / 0.7349 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1946, allocations: 0 / 0.7349 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.1947, allocations: 8 kB / 0.7349 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1947, allocations: 8 kB / 0.7349 GB, free: 11.12 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.0001019/0.1948, allocations: 117.8 kB / 0.735 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1948, allocations: 11.94 kB / 0.735 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.1952, allocations: 125.6 kB / 0.7352 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1952, allocations: 3.938 kB / 0.7352 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1952, allocations: 0 / 0.7352 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1952, allocations: 4 kB / 0.7352 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.1958, allocations: 355.8 kB / 0.7355 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1958, allocations: 3.938 kB / 0.7355 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.196, allocations: 31.92 kB / 0.7355 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.196, allocations: 4 kB / 0.7355 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.196, allocations: 96 / 0.7355 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.196, allocations: 7.938 kB / 0.7356 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.196, allocations: 0 / 0.7356 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.1965, allocations: 251.4 kB / 0.7358 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.1965, allocations: 15.91 kB / 0.7358 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1965, allocations: 0 / 0.7358 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.1967, allocations: 8 kB / 0.7358 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.1967, allocations: 7.984 kB / 0.7358 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.1967, allocations: 4 kB / 0.7358 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.1968, allocations: 91.33 kB / 0.7359 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1968, allocations: 0 / 0.7359 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002867/0.197, allocations: 31.88 kB / 0.7359 GB, free: 9.988 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.000225/0.1973, allocations: 139 kB / 0.7361 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.1976, allocations: 82.12 kB / 0.7362 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1976, allocations: 0 / 0.7362 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.1977, allocations: 51.91 kB / 0.7362 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1981, allocations: 12.88 kB / 0.7362 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000741/0.1988, allocations: 338.4 kB / 0.7365 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1991, allocations: 0.6963 MB / 0.7372 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.1992, allocations: 15.44 kB / 0.7372 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.1992, allocations: 3.938 kB / 0.7372 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of Templates: time 0.003407/0.2026, allocations: 1.306 MB / 0.7385 GB, free: 7.297 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.12044671899639] Failed to read output from testmodel.py, exit status != 0: 0.21145152021199465 0.22765596100000002 0.035176729000000004 Calling exit ...