Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001396/0.001396, 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.001426/0.001426, 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.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.027/1.027, allocations: 150 MB / 463.9 MB, free: 10.44 MB / 366.1 MB " [Timeout remaining time 178] 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [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.002043/0.002043, allocations: 65.91 kB / 0.6425 GB, free: 9.863 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1849, allocations: 89.17 MB / 0.7296 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002828/0.1877, allocations: 1.299 MB / 0.7308 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1889, allocations: 0.6188 MB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.1889, allocations: 0 / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.189, allocations: 0 / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.189, allocations: 7.922 kB / 0.7315 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.1897, allocations: 139.4 kB / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.302e-05/0.1897, allocations: 23.92 kB / 0.7316 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.1898, allocations: 4 kB / 0.7316 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.038e-05/0.1898, allocations: 15.91 kB / 0.7316 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.1899, allocations: 8 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1899, allocations: 0 / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005866/0.1905, allocations: 343.3 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.1905, allocations: 7.922 kB / 0.732 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.1905, allocations: 8 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1908, allocations: 143.5 kB / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1908, allocations: 0 / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1908, allocations: 0 / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.1908, allocations: 4 kB / 0.7321 GB, free: 14.13 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004498/0.1913, allocations: 289.9 kB / 0.7324 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1913, allocations: 12.03 kB / 0.7324 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.1913, allocations: 0.9375 kB / 0.7324 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1914, allocations: 110.5 kB / 0.7325 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1915, allocations: 4.375 kB / 0.7325 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1915, allocations: 384 / 0.7325 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.1916, allocations: 45.62 kB / 0.7326 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1916, allocations: 3.938 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1916, allocations: 4 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1916, allocations: 0 / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.88e-05/0.1917, allocations: 11.98 kB / 0.7326 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.1919, allocations: 136.7 kB / 0.7327 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1921, allocations: 42.56 kB / 0.7328 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.1922, allocations: 16.86 kB / 0.7328 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1922, allocations: 3.938 kB / 0.7328 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1922, allocations: 42.5 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1922, allocations: 0 / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006286/0.1928, allocations: 229.4 kB / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.1929, allocations: 51.41 kB / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.643e-05/0.193, allocations: 97.86 kB / 0.7332 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.193, allocations: 33.64 kB / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.193, allocations: 84.14 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.1931, allocations: 23.78 kB / 0.7333 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1931, allocations: 21.72 kB / 0.7333 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1933, allocations: 314.8 kB / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.06e-05/0.1933, allocations: 12 kB / 0.7336 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.1933, allocations: 8 kB / 0.7337 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.148e-05/0.1934, allocations: 32.84 kB / 0.7337 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1934, allocations: 0 / 0.7337 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001096/0.1935, allocations: 73.56 kB / 0.7338 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1935, allocations: 11.98 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1935, allocations: 0 / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1935, allocations: 0 / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/0.1936, allocations: 12 kB / 0.7338 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1936, allocations: 240 / 0.7338 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.1936, allocations: 3.938 kB / 0.7338 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1936, allocations: 7.984 kB / 0.7338 GB, free: 12.21 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 (7): * Single equations (assignments): 7 * 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 8.862e-05/0.1937, allocations: 113.8 kB / 0.7339 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.1937, allocations: 7.953 kB / 0.7339 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.1939, allocations: 77.67 kB / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1939, allocations: 0 / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1939, allocations: 0 / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1939, allocations: 0 / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.1943, allocations: 286.6 kB / 0.7343 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1943, allocations: 4 kB / 0.7343 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.646e-05/0.1944, allocations: 11.98 kB / 0.7343 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1944, allocations: 0 / 0.7343 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1944, allocations: 8 kB / 0.7343 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1944, allocations: 4.031 kB / 0.7343 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1944, allocations: 0 / 0.7343 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.1946, allocations: 184.3 kB / 0.7345 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.1947, allocations: 3.953 kB / 0.7345 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.1947, allocations: 4 kB / 0.7345 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.1948, allocations: 0 / 0.7345 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.1948, allocations: 8.047 kB / 0.7345 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1948, allocations: 8 kB / 0.7345 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.498e-05/0.1948, allocations: 83.22 kB / 0.7346 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1948, allocations: 0 / 0.7346 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002555/0.1951, allocations: 15.94 kB / 0.7346 GB, free: 11.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001987/0.1953, allocations: 131.1 kB / 0.7347 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.1954, allocations: 31.92 kB / 0.7347 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1954, allocations: 0 / 0.7347 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.1954, allocations: 23.92 kB / 0.7347 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1957, allocations: 8.562 kB / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.1961, allocations: 226.7 kB / 0.735 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1964, allocations: 0.6768 MB / 0.7356 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.1964, allocations: 11.44 kB / 0.7356 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.1964, allocations: 0 / 0.7356 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.002523/0.199, allocations: 0.7927 MB / 0.7364 GB, free: 9.355 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.322239657863975] Failed to read output from testmodel.py, exit status != 0: 0.20781672792509198 0.225366207 0.029075665 Calling exit ...